summaryrefslogtreecommitdiff
path: root/home/neovim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'home/neovim/init.vim')
-rw-r--r--home/neovim/init.vim8
1 files 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