Requirements
Included Modules
Auto-Completion
Code Style
Code Syntax
Color Schemes
Utils
Installation
-
Remove any existing vim configuration
$ rm ~/.vimrc $ rm -r ~/.vim
-
Clone the repository to your home directory
$ git clone git@github.com:ridgekuhn/vimrc.git ~/.vim
-
Initialize the submodules
$ cd ~/.vim $ git submodule init && git submodule update
-
Run the post-install script
$ ~/.vim/.post-install.sh
-
Install Node and Yarn (for Conquer of Completion)
-
(Optional) Set the background color of your terminal to
#002b36
for Solarized compatibility. MacOS users, try the included Terminal Profile.
Key Binding Cheatsheet
NERDtree
Ctrl + O
: Opens NERDtree file browser
emmet-vim
Ctrl + Y
: Emmet leader
vim-visual-multi
- select words with Ctrl-N (like Ctrl-d in Sublime Text/VS Code)
- create cursors vertically with Ctrl-Down/Ctrl-Up
- select one character at a time with Shift-Arrows
- press n/N to get next/previous occurrence
- press [/] to select next/previous cursor
- press q to skip current and get next occurrence
- press Q to remove current cursor/selection
auto-pairs
M-p
: Toggle Autopairs (g:AutoPairsShortcutToggle)