enable mouse in vim
it's for resizing splits! I promise!
This commit is contained in:
@@ -43,9 +43,10 @@ set softtabstop=4 " edit as if the tabs are 4 characters wide
|
|||||||
set shiftwidth=4 " number of spaces to use for indent and unindent
|
set shiftwidth=4 " number of spaces to use for indent and unindent
|
||||||
set shiftround " round indent to a multiple of 'shiftwidth'
|
set shiftround " round indent to a multiple of 'shiftwidth'
|
||||||
|
|
||||||
" if has('mouse')
|
if has('mouse')
|
||||||
" set mouse=a
|
set mouse=a
|
||||||
" endif
|
set ttymouse=xterm2
|
||||||
|
endif
|
||||||
|
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
|
|
||||||
@@ -76,8 +77,10 @@ if has("autocmd") && !exists("autocommands_loaded")
|
|||||||
autocmd BufWritePost .vimrc.local source %
|
autocmd BufWritePost .vimrc.local source %
|
||||||
" save all files on focus lost, ignoring warnings about untitled buffers
|
" save all files on focus lost, ignoring warnings about untitled buffers
|
||||||
autocmd FocusLost * silent! wa
|
autocmd FocusLost * silent! wa
|
||||||
|
|
||||||
autocmd BufNewFile,BufRead *.ejs set filetype=html
|
autocmd BufNewFile,BufRead *.ejs set filetype=html
|
||||||
autocmd BufNewFile,BufRead *.ino set filetype=c
|
autocmd BufNewFile,BufRead *.ino set filetype=c
|
||||||
|
autocmd BufNewFile,BufRead *.svg set filetype=xml
|
||||||
|
|
||||||
" make quickfix windows take all the lower section of the screen when there
|
" make quickfix windows take all the lower section of the screen when there
|
||||||
" are multiple windows open
|
" are multiple windows open
|
||||||
|
|||||||
Reference in New Issue
Block a user