From 7d4117fac5c84824ca7aeb1789cca3437d4a922a Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 2 Feb 2012 17:40:17 -0500 Subject: Add itchy.vim --- .gitmodules | 3 +++ .vimrc | 10 ++++++---- bundle/itchy.vim | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) create mode 160000 bundle/itchy.vim diff --git a/.gitmodules b/.gitmodules index b0e9adb2..eb2046aa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,6 @@ [submodule "bundle/vim-markdown"] path = bundle/vim-markdown url = https://github.com/tpope/vim-markdown.git +[submodule "bundle/itchy.vim"] + path = bundle/itchy.vim + url = git://github.com/programble/itchy.vim.git 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 + diff --git a/bundle/itchy.vim b/bundle/itchy.vim new file mode 160000 index 00000000..94a1d0cd --- /dev/null +++ b/bundle/itchy.vim @@ -0,0 +1 @@ +Subproject commit 94a1d0cddc22b266766bc29e52841920bcd2aefc -- cgit 1.4.1