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
+3
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>
"}