Commits

Daniele Varrazzo  committed 573c82f

vim -- enable the global clipboard

Let's see if in 2013 Linux can use a working copy/paste.

  • Participants
  • Parent commits 09dc606

Comments (0)

Files changed (1)

 " Hide the yankring history file.
 let g:yankring_history_file = '.yankring_history'
 
-""" Use the global clipboard (don't need "+ anymore)
-"":set clipboard=unnamed,autoselect
-""" note: the default was: "autoselect,exclude:cons\\\|linux" but with it
-""" "+unnamed" doesn't work. I've found no docs for the other options.
-
-" yankring doesn't work with the above:
-" for the moment let's use a shortcut for "+y
-vnoremap <leader>y "+y
-nnoremap <leader>p "+p
-nnoremap <leader>P "+P
+" Use the global clipboard (don't need "+ anymore)
+set clipboard=unnamed,unnamedplus,autoselect,exclude:cons\\\|linux
+" note: appending after "exclude:" with "+unnamed" doesn't work.
+" default was "autoselect,exclude:cons\\\|linux"
+
+" " yankring doesn't work with the above:
+" " for the moment let's use a shortcut for "+y
+" vnoremap <leader>y "+y
+" nnoremap <leader>p "+p
+" nnoremap <leader>P "+P
+" (should have been solved by yankring 17.0)
 
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""