Changed conflicting ,cc keymap to ,vc (execute vim command)

This commit is contained in:
Yan Pritzker 2012-03-08 16:46:45 -08:00
parent ecac581510
commit 55348c13e7
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,ig` - toggle visual indentation guides
* `,cf` - Copy Filename of current file into system (not vi) paste buffer
* `,cc` - (Current command) copies the command under your cursor and executes it in vim. Great for testing single line changes to vimrc.
* `,vc` - (Vim Command) copies the command under your cursor and executes it in vim. Great for testing single line changes to vimrc.
* `,yw` - yank a word from anywhere within the word (so you don't have to go to the beginning of it)
* `,ow` - overwrite a word with whatever is in your yank buffer - you can be anywhere on the word. saves having to visually select it
* `,w` - strip trailing whitespaces

View File

@ -161,7 +161,7 @@ nmap <silent> // :nohlsearch<CR>
" the line we're looking at (it does so by yy-copy, colon
" to get to the command mode, C-f to get to history editing
" p to paste it, C-c to return to command mode, and CR to execute
nmap <silent> ,cc yy:<C-f>p<C-c><CR>
nmap <silent> ,vc yy:<C-f>p<C-c><CR>
" Type ,hl to toggle highlighting on/off, and show current value.
noremap ,hl :set hlsearch! hlsearch?<CR>