]> git.rmz.io Git - dotfiles.git/commitdiff
vim: don't set ttymouse in nvim
authorSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 01:01:26 +0000 (01:01 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 02:35:28 +0000 (02:35 +0000)
vim/vimrc

index d5b0610ee2710ced425e2c7d7ee3ab3ef383d6ed..9d85de212acfdca0deaf1936ac1d3114f86faa7f 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -224,7 +224,9 @@ set ttyfast
 
 " using the mouse {{{2
 set mouse=rnv                   " list of flags for using the mouse
-set ttymouse=xterm              " type of mouse
+if !has('nvim')
+  set ttymouse=xterm              " type of mouse
+endif
 
 " messages and info {{{2
 set showcmd         " Show (partial) command in status line.