diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-04-18 13:28:02 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-04-18 13:28:02 +0200 |
commit | 726ffb8beb63e515d411ccb65375b6f7dcc689c2 (patch) | |
tree | b4ef12c4bf69352bd44b3601ab24e37e3afb1f58 /vimrc | |
parent | f09cf69e5a7055679920340645e7fe8be397e76a (diff) | |
download | vim-config-726ffb8beb63e515d411ccb65375b6f7dcc689c2.tar.bz2 |
use X11 clipboard
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -3,6 +3,7 @@ set nocompatible " vim native mode syntax on " enable syntax highlighting colorscheme elektranox " cool colors +set clipboard=unnamedplus " use X11 clipboard for copy/paste set hlsearch " highlight searched word set number " numberize lines set ruler " lower file @@ -134,9 +135,5 @@ filetype plugin on " git branch in ruler set rulerformat=%33(%{fugitive#statusline()}%=%10(%l,%c%V%=%5(%p%%%)%)%) -" copy & paste -vmap <C-c> y: call system("xclip -i -selection clipboard", getreg("\""))<CR> -nmap <C-v> :call setreg("\"",system("xclip -o -selection clipboard"))<CR>p - " debian/control indents must be spaces autocmd FileType debcontrol set expandtab |