summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2012-02-02 17:40:17 -0500
committerJune McEnroe <june@causal.agency>2012-02-02 17:40:17 -0500
commit578f50c8e864966ff08fcf9abf3d743926e9c8ea (patch)
tree1b02b2fcd8590961e42f6ea9edf301ff34728b98
parentRevert "Add ShowMarks plugin" (diff)
downloadsrc-578f50c8e864966ff08fcf9abf3d743926e9c8ea.tar.gz
src-578f50c8e864966ff08fcf9abf3d743926e9c8ea.zip
Add itchy.vim
Diffstat (limited to '')
-rw-r--r--.gitmodules3
-rw-r--r--.vimrc10
m---------bundle/itchy.vim0
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