From f09cf69e5a7055679920340645e7fe8be397e76a Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sat, 1 Dec 2012 02:21:19 +0100 Subject: vimrc update --- vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 2dd4b75..d84b58e 100644 --- a/vimrc +++ b/vimrc @@ -16,7 +16,7 @@ set ruler " show cursor position all the time set wildmode=longest,list " setup wildmode set showmatch " show matching brackets set encoding=utf-8 " UTF-8 -set iskeyword-=_ " _ is a word delimiter +"set iskeyword-=_ " _ is a word delimiter set autoread let g:netrw_dirhistmax=0 " disable anoying ~/.vim/.netrwhist @@ -56,6 +56,8 @@ nnoremap \make :!make nmap \make imap \make +nmap :TagbarToggle + " add vala support autocmd BufRead *.vala set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m autocmd BufRead *.vapi set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m @@ -69,6 +71,7 @@ let vala_space_errors = 1 " highlight space errors in vala code " add support for subtitle files au BufNewFile,BufRead *.ssa setf ssa au BufNewFile,BufRead *.ass setf ssa +au BufNewFile,BufRead *.proto setf proto " configure printing stuff set pdev=Default " printer device @@ -137,5 +140,3 @@ nmap :call setreg("\"",system("xclip -o -selection clipboard"))p " debian/control indents must be spaces autocmd FileType debcontrol set expandtab - -au BufRead,BufNewFile *.nc setfiletype nc -- cgit v1.2.3