Added xclip copy/paste commands
This commit is contained in:
parent
919c068722
commit
f8a2ce1d1e
@ -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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user