From b6d76f6083a4dac9f6165424458b9a789f501dd9 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 3 Oct 2022 17:52:18 -0400 Subject: [PATCH] Extend selection instead of showing the right click menu in neovim --- vim/config/settings.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vim/config/settings.vim b/vim/config/settings.vim index c6538ef..a076f66 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -34,8 +34,11 @@ endif endif - "fancy mouse reporting with xterm2 fallback - if !has('nvim') + if has('nvim') + "extend selection instead of showing the right click menu in neovim + set mousemodel=extend + else + "fancy mouse in vim reporting with xterm2 fallback if has("mouse_sgr") set ttymouse=sgr else