From 578f50c8e864966ff08fcf9abf3d743926e9c8ea Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 2 Feb 2012 17:40:17 -0500 Subject: Add itchy.vim --- .vimrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index d217ac5d..eb214fe1 100644 --- a/.vimrc +++ b/.vimrc @@ -50,10 +50,8 @@ set browsedir=buffer " Open dialog starts in working directory let g:Powerline_symbols = 'fancy' " Jump to the last cursor position when opening -autocmd BufReadPost * - \ if line("'\"") > 1 && line("'\"") <= line("$") | - \ exe "normal! g`\"" | - \ endif +au BufReadPost * if &filetype !~ '^git\c' && line("'\"") > 0 && line("'\"") <= line("$") + \| exe "normal! g`\"" | endif " Default to 2-space indents, 4-character tabs set expandtab @@ -83,6 +81,9 @@ let g:syntastic_check_on_open=1 let g:syntastic_enable_signs=0 let g:syntastic_auto_loc_list=2 +" Itchy options +let g:itchy_startup = 1 + " Custom maps let g:buffergator_suppress_keymaps=1 @@ -117,3 +118,4 @@ nnoremap u :GundoToggle " Custom commands command! W :w + -- cgit 1.4.1