nvim: Add another search replace helper

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-02-17 19:30:24 +05:30
parent 93690c4887
commit 605eb3898e

View file

@ -232,6 +232,7 @@ nnoremap <Leader>u :MundoToggle<CR>
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 sr :%s//g<Left><Left>
nnoremap <Leader>sr :%s/\<<C-r><C-w>\>//g<Left><Left>
" Manage window splitting " Manage window splitting
nnoremap sh <Esc>:sp<CR> nnoremap sh <Esc>:sp<CR>
nnoremap sv <Esc>:vsp<CR> nnoremap sv <Esc>:vsp<CR>