init.vim: add mapping to replace word below cursor
la-ninpre leobrekalini@gmail.com
Wed, 11 Nov 2020 11:02:57 +0300
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
.config/nvim/init.vim
→
.config/nvim/init.vim
@@ -90,6 +90,9 @@ map <C-L> <C-W><C-L>
map <C-J> <C-W><C-J> map <C-K> <C-W><C-K> +" replace all occurencies of the word under the cursor +nnoremap <leader>su :%s/\<<C-r><C-w>\>/ + " show or hide undo tree nnoremap <leader>u :UndotreeToggle<CR>