aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2014-05-06 10:36:15 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2014-05-06 10:36:15 +0200
commit4d1f5dbada37257b7db1fbf616f7d6eadb3e9623 (patch)
treeaaaf3978fa107fe3b1d1337635193d9f6287baaf
parente80cb0080aa7487b74415e7aa6320a387568b866 (diff)
downloaddotfiles-4d1f5dbada37257b7db1fbf616f7d6eadb3e9623.tar.gz
dotfiles-4d1f5dbada37257b7db1fbf616f7d6eadb3e9623.zip
vim: use always the clipboard.
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 545331e..dbac504 100644
--- a/vimrc
+++ b/vimrc
@@ -36,6 +36,11 @@ set nowrap
set nobackup
set noswapfile
+" Use always the clipboard.
+" NOTE: this only works if you have vim with clipboard support. You can check
+" this by calling vim --version and see if you have +clipboard.
+set clipboard=unnamed
+
""
" Colorscheme