diff options
| author | jdhao <jdhao@hotmail.com> | 2020-04-17 19:59:24 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 19:59:24 +0800 |
| commit | 8bca4c973b4a831492e7f61499af7467b3df1643 (patch) | |
| tree | e88ff912bfd2407bc58535aeaaf415051ec1d709 /mappings.vim | |
| parent | 70f02ae20f53dfca5730a7a01dacf45f4b168a1d (diff) | |
update: add new mapping to copy the buffer.
Diffstat (limited to 'mappings.vim')
| -rw-r--r-- | mappings.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mappings.vim b/mappings.vim index 8e75aef..f568f2b 100644 --- a/mappings.vim +++ b/mappings.vim @@ -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> "} |
