aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-20 10:28:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-20 10:28:52 +1200
commitfac932a73316e792529993c79bdf7382c6ea174d (patch)
treec05a215907454bb11cad3ada051244e57cf03f44
parentFollow the manual's instructions for 'ttymouse' (diff)
downloaddotfiles-fac932a73316e792529993c79bdf7382c6ea174d.tar.gz
dotfiles-fac932a73316e792529993c79bdf7382c6ea174d.zip
Revert "Follow the manual's instructions for 't...
This reverts commit 9ae78fdbc8ca553628cc61d43cdb2b30134fdb2e. Setting t_RV to blank doesn't work, at least, not in .vimrc. If TERM is xterm, it gets set anyway.
-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)