nvim: keymappings: Update bindings for search and replace
Do this to avoid slowing sneak and ferret a little bit due to 's' conflict. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
9fe8808e7e
commit
540a83df81
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ nnoremap <LocalLeader>B :LMake<CR>
|
||||||
" Save
|
" Save
|
||||||
nnoremap <Leader>w <Esc>:w<CR>
|
nnoremap <Leader>w <Esc>:w<CR>
|
||||||
" Search and Replace
|
" Search and Replace
|
||||||
nnoremap sr :%s//g<Left><Left>
|
nnoremap c. :%s//g<Left><Left>
|
||||||
nnoremap <Leader>sr :%s/\<<C-r><C-w>\>//g<Left><Left>
|
nnoremap <Leader>c. :%s/\<<C-r><C-w>\>//g<Left><Left>
|
||||||
" Quit
|
" Quit
|
||||||
nnoremap <Leader>x <Esc>:x<CR>
|
nnoremap <Leader>x <Esc>:x<CR>
|
||||||
nnoremap <Leader>q <Esc>:q<CR>
|
nnoremap <Leader>q <Esc>:q<CR>
|
||||||
|
|
Loading…
Reference in a new issue