aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-08 14:07:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-08 14:07:07 -0300
commit235239a05329e1dad29b5ad2a2db2ff5e8dd3bbb (patch)
treee86a17d9cc25176da889cd0de43c920e303600a6 /modules
parent031b0d9b883c6b2a6b597f10e70f2d7f89c6ad5a (diff)
downloaddotfiles-235239a05329e1dad29b5ad2a2db2ff5e8dd3bbb.tar.gz
dotfiles-235239a05329e1dad29b5ad2a2db2ff5e8dd3bbb.tar.bz2
Ctrl-c ctrl-v shortcust
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>+