vim

vim config files
git clone https://git.bracken.jp/vim.git
Log | Files | Refs | LICENSE

commit 0b721e0d67df2ebdd614c0ae4906ba4e215b17c5
parent abf6bc08291946c8ea725f170e781f76f291ad59
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:
Mvimrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vimrc b/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>