Added xclip copy/paste commands

This commit is contained in:
Wryn Wagner 2020-04-02 12:39:15 -06:00
parent 919c068722
commit f8a2ce1d1e

View File

@ -29,6 +29,14 @@ nnoremap <Space> @q
vnoremap Q !$SHELL<CR> vnoremap Q !$SHELL<CR>
nnoremap Q !!$SHELL<CR> nnoremap Q !!$SHELL<CR>
" \c \v to copy/paste from xclip
vnoremap <Leader>c :w !xclip<CR><CR>
nnoremap <Leader>v o<esc>!!xclip -o<CR>
" \s previous selection command
nnoremap <Leader>sq :'<,'>
nnoremap <Leader>sc :'<,'>w !xclip<CR><CR>
" \q for `q:` " \q for `q:`
nnoremap <Leader>q q: nnoremap <Leader>q q: