commit 96f56af28f5e5f70004f05cbd98cd2f3f302a23a
parent 450336a25f14e85386ffa027edf1f62ce2223967
Author: Chris Bracken <chris@bracken.jp>
Date: Thu, 16 Mar 2023 13:25:33 -0700
Disable the mouse completely in vim
Setting mouse-=a unsets all previous modes. Instead, explicitly set it
to have no modes enabled.
Details at :help mouse
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -43,7 +43,7 @@ map <S-Insert> <MiddleMouse>
noremap Q <NOP>
" Disable visual-mode mouse select.
-set mouse-=a
+set mouse=
" Kill arrow keys, for great justice.
noremap <Up> <NOP>