From de26d9ede763f04517d1995b69c1c7611502ef59 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 21 Oct 2023 15:27:10 +0200 Subject: nvim: set mouse=nicr --- home/neovim/init.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/neovim/init.vim b/home/neovim/init.vim index 43b1f24..b2da2aa 100644 --- a/home/neovim/init.vim +++ b/home/neovim/init.vim @@ -42,8 +42,12 @@ set matchtime=2 set listchars=tab:>-,eol:$,space:.,trail:@,nbsp:% -" Enable mouse input -set mouse=a +" Enable mouse input for all modes but visual. +" +" I disable mouse in visual mode so I can select text in the terminal using +" the mouse. This is useful when copying text from a remote instance of vim +" SSH session where "* doesn't work. +set mouse=nicr " sussy sus the sussy sus set nowrap -- cgit v1.2.3