-
Notifications
You must be signed in to change notification settings - Fork 6
VIM custom keystrokes
sergeylukin edited this page Jul 14, 2012
·
30 revisions
My dotfiles repo includes custom VIM & Plugins configuration which helps coding/typing even faster
Below is a list of custom keystrokes set in configuration
Note that you can override any of these by creating & editing ~/.vimrc.local
file
-
,
- So called<leader>
, is used in combination with other keys to call different actions -
;
- Switch from normal mode to command mode -
<leader>h
- Cancel highlighted selections -
<leader>r
- Reload opened files -
<leader>da
- Delete all buffers -
<leader>ev
- Open ~/.vimrc file in new tab - very fast & useful
-
<space>
- Fold/Unfold selected lines -
<leader>q
- Break one line text into multiple lines
-
jj
- Switch from insert mode to normal mode
-
:ff
- Open current file in Firefox
-
<leader>n
- Open/Hide NERDTree browser
-
Ctrl-e
- Execute mapping -
Ctrl-n
- Next mapping
-
<leader>c
- Comment selected lines/letters
-
<leader>md
- convert markdown into HTML