From d678e786049b6da2b5f0ee3c01d98f8937d59ce4 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Wed, 12 Feb 2014 19:28:21 -0600 Subject: [PATCH] enable mouse in vim it's for resizing splits! I promise! --- vim/vimrc.symlink | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 29302e1..c43c345 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -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 shiftround " round indent to a multiple of 'shiftwidth' -" if has('mouse') -" set mouse=a -" endif +if has('mouse') + set mouse=a + set ttymouse=xterm2 +endif set clipboard=unnamed @@ -76,8 +77,10 @@ if has("autocmd") && !exists("autocommands_loaded") autocmd BufWritePost .vimrc.local source % " save all files on focus lost, ignoring warnings about untitled buffers autocmd FocusLost * silent! wa + autocmd BufNewFile,BufRead *.ejs set filetype=html 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 " are multiple windows open