Last Updated: February 25, 2016
·
540
· alexparamonov

Working with Linux clipboard

VIM use several clipboard buffers. Use " buffer to use OS clipboard.
Below are mappings for easier usage:

" OS clipboard
nnoremap <leader>y "+y
vnoremap <leader>y "+y

nnoremap <leader>p "+p
vnoremap <leader>p "+p
nnoremap <leader>P "+P
vnoremap <leader>P "+P