aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/vim/vimrc.dot.link6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/vim/vimrc.dot.link b/modules/vim/vimrc.dot.link
index 121d2e3..20f4aaa 100644
--- a/modules/vim/vimrc.dot.link
+++ b/modules/vim/vimrc.dot.link
@@ -84,3 +84,9 @@ function OpenNERDTree()
command -nargs=0 OpenNERDTree :call OpenNERDTree()
nmap <ESC>t :OpenNERDTree<CR>
+
+" See http://superuser.com/questions/10588/how-to-make-cut-copy-paste-in-gvim-on-ubuntu-work-with-ctrlx-ctrlc-ctrlv
+vmap <C-c> "+yi
+vmap <C-x> "+c
+vmap <C-v> c<ESC>"+p
+imap <C-v> <C-r><C-o>+