nvim: Add another search replace helper
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
93690c4887
commit
605eb3898e
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue