diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-12-01 02:21:19 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-12-01 02:21:19 +0100 |
commit | f09cf69e5a7055679920340645e7fe8be397e76a (patch) | |
tree | 36b19ef1fea2a941d2db27ed6c8eb77a99aee4d8 | |
parent | 6a36be78c8cf1e58712f624ba73f872f32a8ca34 (diff) | |
download | vim-config-f09cf69e5a7055679920340645e7fe8be397e76a.tar.bz2 |
vimrc update
-rw-r--r-- | vimrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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<CR> nmap <F6> \make imap <F6> <C-O>\make +nmap <F12> :TagbarToggle<CR> + " 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 <C-v> :call setreg("\"",system("xclip -o -selection clipboard"))<CR>p " debian/control indents must be spaces autocmd FileType debcontrol set expandtab - -au BufRead,BufNewFile *.nc setfiletype nc |