diff options
Diffstat (limited to '')
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | .vimrc | 10 | ||||
m--------- | bundle/itchy.vim | 0 |
3 files changed, 9 insertions, 4 deletions
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 <leader>u :GundoToggle<CR> " Custom commands command! W :w + diff --git a/bundle/itchy.vim b/bundle/itchy.vim new file mode 160000 +Subproject 94a1d0cddc22b266766bc29e52841920bcd2aef |