Skip to content
Browse files

Vim - Migrate from pathogen to vundle

  • Loading branch information...
1 parent 0f84ef0 commit 3bb43d61fec91a41087b70044ed0a54162a8c2c9 @Funkmyster committed Nov 26, 2012
Showing with 30 additions and 15 deletions.
  1. +1 −0 vim/vim/bundle/.gitignore
  2. +0 −5 vim/vim/bundle/misc/plugin/python.vim
  3. +29 −10 vim/vimrc
View
1 vim/vim/bundle/.gitignore
@@ -0,0 +1 @@
+*
View
5 vim/vim/bundle/misc/plugin/python.vim
@@ -1,5 +0,0 @@
-function! IPythonEmbed()
- call append('.', 'from IPython.Shell import IPShellEmbed')
- call append('.', 'ipshell = IPShellEmbed()')
- call append('.', 'ipshell()')
-endfunction
View
39 vim/vimrc
@@ -1,17 +1,40 @@
-" for pathogen
-call pathogen#infect()
-call pathogen#helptags()
+set nocompatible " be iMproved
+filetype off " required!
+
+set rtp+=~/.vim/bundle/vundle/
+call vundle#rc()
+
+" let Vundle manage Vundle
+" required!
+Bundle 'gmarik/vundle'
+
+" My Bundles here:
+"
+Bundle 'tpope/vim-fugitive'
+Bundle 'nvie/vim-rst-tables'
+Bundle 'vimoutliner/vimoutliner'
+
+" ...
+
+filetype plugin indent on " required!
+"
+" Brief help
+" :BundleList - list configured bundles
+" :BundleInstall(!) - install(update) bundles
+" :BundleSearch(!) foo - search(or refresh cache first) for foo
+" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
+"
+" see :h vundle for more details or wiki for FAQ
+" NOTE: comments after Bundle command are not allowed..
+
set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%)\ -\ %{v:servername}
set showcmd "Show (partial) command in status line"
set laststatus=2 "Always disp statusline"
set statusline=%F%m%r%h%w\ [FILETYPE=%Y]\[LINE=%04l][%p%%]
-"set number "Display line numbers"
-
set smarttab
-filetype plugin indent on "This helps python tabbing
set autoindent
set smartindent
@@ -74,7 +97,3 @@ autocmd BufRead,BufNewFile *.py noremap <C-l> :!clear ; pylint --errors-only %<C
"for javascript
autocmd BufRead,BufNewFile *.js noremap <C-l> :!clear ; /home/jsilva/bin/jslint --color --browser true --predef '$' %<CR>
-
-" for TaskJuggler
-autocmd BufRead,BufNewFile *.tjp,*.tji set filetype=tjp
-autocmd BufRead,BufNewFile *.tjp,*.tji noremap <C-l> :!tj3 --check-syntax %<CR>

0 comments on commit 3bb43d6

Please sign in to comment.
Something went wrong with that request. Please try again.