Changed conflicting ,cc keymap to ,vc (execute vim command)
This commit is contained in:
parent
ecac581510
commit
55348c13e7
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user