diff --git a/README.md b/README.md index da530bc..fdc11dd 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index 05a5b41..151f0c7 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -161,7 +161,7 @@ nmap // :nohlsearch " 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 ,cc yy:p +nmap ,vc yy:p " Type ,hl to toggle highlighting on/off, and show current value. noremap ,hl :set hlsearch! hlsearch?