aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-01-30 00:50:43 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-01-30 00:50:43 +1300
commitfa383335a1c12f29943bfb2888345864ac40e9df (patch)
tree4007223fe91e197e0ab683a1dee74649ba0740ab /vim
parentUpgrading plugins (diff)
downloaddotfiles-fa383335a1c12f29943bfb2888345864ac40e9df.tar.gz
dotfiles-fa383335a1c12f29943bfb2888345864ac40e9df.zip
Don't try to connect to X server from PuTTY
I quite like to leave X forwarding on for PuTTY when connecting to my home machine, so I can run programs with Xming. There's a two-second delay in Vim as it tries to connect to the X server whenever I forward it if Xming isn't running. This fixes it. http://stackoverflow.com/a/10718757/493111
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index bc25e5d4..47ea3a97 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -55,6 +55,9 @@ else
set nowritebackup
endif
+" Clipboard
+set clipboard=autoselect,exclude:cons\\\|linux\\\|putty
+
" Colors
if has("syntax")
syntax enable