aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 96d45fc8..0a00b27f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -175,8 +175,12 @@ if &term =~# '^putty'
set ttyfast
endif
-" No 'ttymouse' (terminal mouse), even if we could
-set t_RV=
+" No terminal mouse, even if we could; the manual says to set 't_RV', but that
+" doesn't seem to work
+" Not in NeoVim
+if exists('+ttymouse') && &ttymouse !=# ''
+ set ttymouse=
+endif
" Try to keep persistent undo files in one system-appropriate directory
" (v7.2.438), including full encoded path in filename (trailing double slash)