1
0
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:
jdhao
2020-04-17 19:59:24 +08:00
committed by GitHub
parent 70f02ae20f
commit 8bca4c973b

View File

@@ -174,4 +174,7 @@ nnoremap <silent> <leader>st :call utils#SynGroup()<CR>
if maparg('<C-L>', 'n') ==# ''
nnoremap <silent> <C-L> :nohlsearch<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
endif
" Copy entire buffer.
nnoremap <silent> <leader>y :%y<CR>
"}