added ctrl+x shortcut to clear search highlighting
This commit is contained in:
parent
65dde63a1b
commit
6af19bf7b9
1 changed files with 3 additions and 0 deletions
|
|
@ -86,6 +86,9 @@ let g:NERDCreateDefaultMappings = 1
|
|||
" Toggle NERDCommenter with Ctrl + c
|
||||
:map <C-c> <Plug>NERDCommenterToggle
|
||||
|
||||
" <Ctrl-x> redraws the screen and removes any search highlighting
|
||||
nnoremap <silent> <C-x> :nohl<CR><C-x>
|
||||
|
||||
"Toggle Multi-Cursor with j or k
|
||||
nmap <C-j> <C-Down>
|
||||
nmap <C-k> <C-Up>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue