Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkham/vimfiles
My Vim setup
https://github.com/arkham/vimfiles
dotfiles vim
Last synced: 26 days ago
JSON representation
My Vim setup
- Host: GitHub
- URL: https://github.com/arkham/vimfiles
- Owner: Arkham
- Created: 2014-03-22T00:49:27.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-12-05T12:24:43.000Z (about 5 years ago)
- Last Synced: 2023-04-14T02:39:04.149Z (over 1 year ago)
- Topics: dotfiles, vim
- Language: Vim script
- Size: 911 KB
- Stars: 22
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Arkham's vim configuration
==========================My configuration uses [vim-plug](https://github.com/junegunn/vim-plug).
(But you don't need to care about any of that.)## Preview
![preview](./images/preview.png)
## Installation:
Prerequisites: ruby, git.
1. Move your existing configuration somewhere else:
`mv ~/.vim* ~/.gvim* my_backup`
2. Clone this repo into ".vim":
`git clone https://github.com/Arkham/vimfiles ~/.vim`
3. Go into ".vim" and run "rake":
`cd ~/.vim && rake`This will install a "~/.vimrc" symlink to the config inside the ".vim" directory.
## Features:
- Use vim-plug as plugin environment
- Sane defaults: nocompatible mode, utf8, advanced syntax highlighting
- 2 spaces, no tabs, uses bash-alike autocompletion for files and directories
- Tabs are displayed as `▸ `, end of lines as `¬`, trailing spaces as `.`
- Incremental, case-insensitive search
- Handful hard wrapping for text and markdown
- Follow style conventions for ruby, python and makefiles
- Reopen files in the same spot where you closed them
- 'Leader' character mapped to "," (comma)
- Pressing enter in normal mode resets search highlighting
- %% is expanded to the current directory in command mode
- `,e` edits a file in the same directory of the current
- `,f` opens file search via fzf plugin
- `,b` opens buffer search via fzf plugin
- `,m` opens mru files search via fzf plugin
- `,,` switches between two last buffers
- `,cf` jumps to the first conflict marker
- `,l` toggles list mode
- `,p` copies the path of the current file
- `,kw` or `:KillWhitespace` removes all trailing spaces
- `` switches between windows (no need to prepend ``)
- Cursor keys for movement disabled!
- Nice looking status line
- Awesome configurations for Ag, Nerdtree and more..