You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
320 B
Plaintext
10 lines
320 B
Plaintext
12 years ago
|
" ~/.vimrc
|
||
|
" copy or paste from X11 clipboard
|
||
|
" http://vim.wikia.com/wiki/GNU/Linux_clipboard_copy/paste_with_xclip
|
||
|
" requires: xclip
|
||
|
" usage: visual mode select then hit F6 to copy
|
||
|
" hit F7 to paste from GUI to vim without formating issues
|
||
|
vmap <F6> :!xclip -f -sel clip<CR>
|
||
|
map <F7> mz:-1r !xclip -o -sel clip<CR>`z
|
||
|
|