Skip to content

Commit

Permalink
visual shifting, small fixes for autoload & supertab
Browse files Browse the repository at this point in the history
  • Loading branch information
spf13 committed Oct 31, 2010
1 parent 83c744d commit 22d2471
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

" Setup Bundle Support {
" The next two lines ensure that the ~/.vim/bundle/ system works
runtime! autoload/pathogen.vim
"runtime! autoload/pathogen.vim
silent! call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
" }
" }

Expand Down Expand Up @@ -148,6 +149,10 @@
cmap cwd lcd %:p:h
cmap cd. lcd %:p:h
" visual shifting (does not exit Visual mode)
vnoremap < <gv
vnoremap > >gv
" For when you forget to sudo.. Really Write the file.
cmap w!! w !sudo tee % >/dev/null
" }
Expand All @@ -165,7 +170,7 @@
" }

" Supertab {
"let g:SuperTabDefaultCompletionType = "context"
let g:SuperTabDefaultCompletionType = "context"
let g:SuperTabContextDefaultCompletionType = "<c-x><c-o>"
" }

Expand Down Expand Up @@ -224,7 +229,7 @@
" automatically open and close the popup menu / preview window
au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif
set completeopt=menu,longest,preview
set completeopt=menu,preview,longest
" }

" Ctags {
Expand Down

0 comments on commit 22d2471

Please sign in to comment.