diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-07-08 14:07:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-07-08 14:07:07 -0300 |
commit | 235239a05329e1dad29b5ad2a2db2ff5e8dd3bbb (patch) | |
tree | e86a17d9cc25176da889cd0de43c920e303600a6 /modules/vim | |
parent | 031b0d9b883c6b2a6b597f10e70f2d7f89c6ad5a (diff) | |
download | dotfiles-235239a05329e1dad29b5ad2a2db2ff5e8dd3bbb.tar.gz dotfiles-235239a05329e1dad29b5ad2a2db2ff5e8dd3bbb.tar.bz2 |
Ctrl-c ctrl-v shortcust
Diffstat (limited to 'modules/vim')
-rw-r--r-- | modules/vim/vimrc.dot.link | 6 |
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>+ |