I hate how different vim behaves on Debian compared to other distros.
Right click paste? Nope. On Debian it changes to visual mode.
Right click paste? Nope. On Debian it changes to visual mode.
If you put this in your .vimrc, it should allow you to paste from the system clipboard by pressing space-p:
let g:mapleader = "\<Space>"
nmap <leader>p "*p
vmap <leader>p "*p
(Or use `"*p` or `"+p`, not including the backticks.)Edit:
s/clipbaord/clipboard/
:version
within vim to see what compile time features are enabled or disabled. If the list says +xterm_clipboard, then that feature is enabled.In my experience, terminal vim doesn't have that feature enabled, but gvim does.
:w !xclip -selection clipboard
or :r !xclip -o -selection clipboard