binding for copying to clipboard

This commit is contained in:
frogtile 2021-08-28 20:28:13 +06:00 committed by GitHub
parent 9b6005292c
commit f956d79c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,9 @@ set noshowcmd
" Replace all is aliased to S. " Replace all is aliased to S.
nnoremap S :%s//g<Left><Left> nnoremap S :%s//g<Left><Left>
" Copy to clipboard
map <leader>y "+y
" Compile document, be it groff/LaTeX/markdown/etc. " Compile document, be it groff/LaTeX/markdown/etc.
map <leader>c :w! \| !compiler "<c-r>%"<CR> map <leader>c :w! \| !compiler "<c-r>%"<CR>