Permalink
Browse files

Switch mappings to use "+ register, not "*

Use the system clipboard instead of the X clipboard.  This should
provide better workflow on Linux GUI hosts.
  • Loading branch information...
1 parent f360030 commit 46871d9ec301ea2f1c73e859069efeb858c6b8b8 @jwhitley committed Nov 11, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 .vimrc
View
@@ -247,10 +247,10 @@
nnoremap <silent> <leader><space> :nohlsearch<cr>
" Yank/put to/from system clipboard
- nnoremap <leader>y "*y
- vnoremap <leader>y "*y
- nnoremap <leader>p "*p
- nnoremap <leader>P "*P
+ nnoremap <leader>y "+y
+ vnoremap <leader>y "+y
+ nnoremap <leader>p "+p
+ nnoremap <leader>P "+P
" See mapping of '%%', above
nmap <leader>ew :e %%

0 comments on commit 46871d9

Please sign in to comment.