mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-21 16:53:33 +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
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue