From f6adfcef48df0efff8f17ebf2d14f81bd9eb2c8a Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sat, 13 Jul 2013 19:35:28 +0800 Subject: [PATCH] Add vim-vundle --- .gitmodules | 3 +++ .vim/bundle/vundle | 1 + .vimrc | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 100644 .gitmodules create mode 160000 .vim/bundle/vundle diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..50b6227 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".vim/bundle/vundle"] + path = .vim/bundle/vundle + url = https://github.com/gmarik/vundle.git diff --git a/.vim/bundle/vundle b/.vim/bundle/vundle new file mode 160000 index 0000000..769010a --- /dev/null +++ b/.vim/bundle/vundle @@ -0,0 +1 @@ +Subproject commit 769010ae4dc2ccb40bb0d93078f0480c80553860 diff --git a/.vimrc b/.vimrc index da0bc58..53856f6 100644 --- a/.vimrc +++ b/.vimrc @@ -40,6 +40,14 @@ highlight Search cterm=none ctermbg=blue nmap [Z W nmap w " +filetype off +set rtp+=~/.vim/bundle/vundle/ +call vundle#rc() +" +Bundle "gmarik/vundle" +" +filetype plugin indent on +" " other au BufNewFile,BufRead *.go set filetype=go au BufNewFile,BufRead *.json setf json