mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update: add new mapping to copy the buffer.
This commit is contained in:
parent
70f02ae20f
commit
8bca4c973b
@ -174,4 +174,7 @@ nnoremap <silent> <leader>st :call utils#SynGroup()<CR>
|
|||||||
if maparg('<C-L>', 'n') ==# ''
|
if maparg('<C-L>', 'n') ==# ''
|
||||||
nnoremap <silent> <C-L> :nohlsearch<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
|
nnoremap <silent> <C-L> :nohlsearch<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Copy entire buffer.
|
||||||
|
nnoremap <silent> <leader>y :%y<CR>
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user