aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-09 19:47:20 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-09 19:47:20 +1200
commitcb63d1f1fa9c7632173d18632c8e9be38acfc880 (patch)
tree47466d67818baea695750fa5a872a925e7538de7
parentDocument many more option settings (diff)
downloaddotfiles-cb63d1f1fa9c7632173d18632c8e9be38acfc880.tar.gz
dotfiles-cb63d1f1fa9c7632173d18632c8e9be38acfc880.zip
Document 'ttyfast' setting, and include tmux
-rw-r--r--vim/vimrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2e5ec9fd..d9f8cd29 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -686,8 +686,13 @@ if $MYVIM !=# ''
set thesaurus^=$MYVIM/ref/thesaurus.txt
endif
-" PuTTY is a fast terminal, but Vim doesn't know that yet
-if &term =~# '^putty'
+" Vim has an internal list of terminal types that support using smoother
+" terminal redrawing. It includes most of the terminals I use, but there are
+" a couple more for which the 'ttyfast' option should apply: the windows
+" terminal emulator PuTTY, and the terminal multiplexer tmux, both of which
+" I use heavily.
+"
+if &term =~# '^putty\|^tmux'
set ttyfast
endif