]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: don't set ttymouse in nvim
[dotfiles.git] / vim / vimrc
index 4a51a99f0b8328e4a6c180c40c6b56d32e15a045..9d85de212acfdca0deaf1936ac1d3114f86faa7f 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -183,6 +183,7 @@ set lazyredraw                  " don't redraw while executing macros
 set list                        " show chars defined in 'listchars'
 set listchars=tab:❭\            " list of strings used for list mode
 set listchars+=extends:❯,precedes:❮
+set listchars+=nbsp:␣
 " Only shown when not in insert mode
 set listchars+=trail:·
 augroup trailing
@@ -223,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.