From 2decd7cbb2adfc38392e0df5a1762cd0f857525b Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Wed, 30 Mar 2022 18:59:39 +0200 Subject: [PATCH] [vim] Auto disable any mouse --- vim/vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index fd5864e..48dddb7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -31,6 +31,7 @@ if has("patch-7.4.710") else set listchars=tab:→\ ,nbsp:␣,trail:•,eol:¶,precedes:«,extends:» endif +set showbreak=\\ "Folding "augroup vimrc @@ -39,10 +40,15 @@ endif "augroup END " search for visually hightlighted text -vnoremap y/" +vnoremap y/" set grepprg=grep\ -nH\ $* +" Disable any mousing +if has("mouse") + set mouse= +endif + " Don't wake up system with blinking cursor: " http://www.linuxpowertop.org/known.php let &guicursor = &guicursor . ",a:blinkon0"