mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 01:03:35 +01:00
[vim] Auto disable any mouse
This commit is contained in:
parent
97ab089316
commit
2decd7cbb2
1 changed files with 7 additions and 1 deletions
|
@ -31,6 +31,7 @@ if has("patch-7.4.710")
|
||||||
else
|
else
|
||||||
set listchars=tab:→\ ,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
|
set listchars=tab:→\ ,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
|
||||||
endif
|
endif
|
||||||
|
set showbreak=\\
|
||||||
|
|
||||||
"Folding
|
"Folding
|
||||||
"augroup vimrc
|
"augroup vimrc
|
||||||
|
@ -43,6 +44,11 @@ vnoremap <c-f> y<ESC>/<c-r>"<CR>
|
||||||
|
|
||||||
set grepprg=grep\ -nH\ $*
|
set grepprg=grep\ -nH\ $*
|
||||||
|
|
||||||
|
" Disable any mousing
|
||||||
|
if has("mouse")
|
||||||
|
set mouse=
|
||||||
|
endif
|
||||||
|
|
||||||
" Don't wake up system with blinking cursor:
|
" Don't wake up system with blinking cursor:
|
||||||
" http://www.linuxpowertop.org/known.php
|
" http://www.linuxpowertop.org/known.php
|
||||||
let &guicursor = &guicursor . ",a:blinkon0"
|
let &guicursor = &guicursor . ",a:blinkon0"
|
||||||
|
|
Loading…
Reference in a new issue