commit a22cfeb5675344a7a5cc44dfc69fdc5aafb093db
parent 2560c991ba9a17f3ebb99021045107b08ff41ab8
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 5 Sep 2013 21:17:04 +0200
switched to Vundle plugin manager
Diffstat:
3 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/.vim/bundle/clone-repos.sh b/.vim/bundle/clone-repos.sh
@@ -1,7 +0,0 @@
-#!/bin/sh
-git clone git://github.com/Lokaltog/vim-powerline.git
-git clone git://github.com/scrooloose/nerdtree.git
-git clone git://github.com/scrooloose/syntastic.git
-git clone git://github.com/kien/ctrlp.vim.git
-#git clone git://github.com/klen/python-mode.git
-git clone https://github.com/altercation/vim-colors-solarized.git
diff --git a/.vimrc b/.vimrc
@@ -2,7 +2,8 @@
filetype on
filetype off
set t_Co=16 " for solarized theme
-execute pathogen#infect()
+set rtp+=~/.vim/bundle/vundle " use Vundle plugin manager
+call vundle#rc()
filetype plugin indent on
" Disable vi-compatibility
@@ -60,6 +61,19 @@ else
endif
+""" Vundle plugins
+" install and update with :BundleInstall, see :h vundle
+
+" original repos on Github
+Bundle 'gmarik/vundle' " let Vundle manage Vundle. Required!
+Bundle 'Lokaltog/vim-powerline' " more functional statusline
+"Bundle 'Lokaltog/powerline' " successor to vim-powerline
+Bundle 'scrooloose/nerdtree' " file system browser
+Bundle 'scrooloose/syntastic' " syntax checking plugin
+Bundle 'kien/ctrlp.vim' " fuzzy file, buffer, and tag finder
+Bundle 'altercation/vim-colors-solarized' " solarized colorscheme
+
+
""" Keyboard shortcuts
" Resize with <C-h>, <C-j>, <C-k> and <C-l>
diff --git a/install.sh b/install.sh
@@ -1,11 +1,15 @@
+#!/bin/sh
+
# Create symlinks
./create_symlinks.sh
# Clone oh-my-zsh
./clone_oh_my_zsh.sh
-# Clone or update Vim repositories
-cd .vim/bundle
-./clone-repos.sh
-./update-repos.sh
+# Clone or update Vim repositories (with Pathogen)
+#cd .vim/bundle
+#./clone-repos.sh
+#./update-repos.sh
+# Install Vundle
+git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle