1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-17 17:03:32 +01:00

[vim] Auto disable any mouse

This commit is contained in:
Eric Teunis de Boone 2022-03-30 18:59:39 +02:00
parent 97ab089316
commit 2decd7cbb2

View file

@ -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 <c-f> y<ESC>/<c-r>"<CR>
vnoremap <c-f> y<ESC>/<c-r>"<CR>
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"