Skip to content

Commit

Permalink
Replace custom snippet with 'lastpos.vim' plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarik committed Feb 10, 2011
1 parent 28fea4d commit fd56a9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vimrc
Expand Up @@ -88,8 +88,6 @@ set splitright
runtime! matchit runtime! matchit


"Auto commands "Auto commands
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | execute "normal g'\"" | endif " restore position in file

au BufRead,BufNewFile {Gemfile,Rakefile,Capfile,*.rake,config.ru} set ft=ruby tabstop=2 softtabstop=2 shiftwidth=2 expandtab smarttab au BufRead,BufNewFile {Gemfile,Rakefile,Capfile,*.rake,config.ru} set ft=ruby tabstop=2 softtabstop=2 shiftwidth=2 expandtab smarttab
au BufRead,BufNewFile {*.md,*.mkd,*.markdown} set ft=markdown au BufRead,BufNewFile {*.md,*.mkd,*.markdown} set ft=markdown
au! BufReadPost COMMIT_EDITMSG set ft=gitcommit noml | norm 1G au! BufReadPost COMMIT_EDITMSG set ft=gitcommit noml | norm 1G
Expand Down Expand Up @@ -176,6 +174,7 @@ Bundle 'surround.vim'
" Bundle 'SuperTab' " Bundle 'SuperTab'
Bundle 'file-line' Bundle 'file-line'
Bundle 'Align' Bundle 'Align'
Bundle 'lastpos.vim'


" FuzzyFinder " FuzzyFinder
Bundle 'L9' Bundle 'L9'
Expand Down

0 comments on commit fd56a9c

Please sign in to comment.