Making switch to vundle complete.

This commit is contained in:
Faerbit 2014-06-27 00:12:28 +02:00
parent 3e7ec2f9fd
commit 7ec7c75926
2 changed files with 15 additions and 32 deletions

View File

@ -1,13 +0,0 @@
all: update
init:
git init
test -d tlib || git submodule add https://github.com/tomtom/tlib_vim.git tlib
test -d addon-mw-utils || git submodule add https://github.com/MarcWeber/vim-addon-mw-utils.git addon-mw-utils
test -d snipmate || git submodule add https://github.com/garbas/vim-snipmate.git snipmate
test -d snippets || git submodule add https://github.com/honza/vim-snippets.git snippets
test -d coveragepy || git submodule add https://github.com/alfredodeza/coveragepy.vim coveragepy
test -d supertab || git submodule add https://github.com/ervandew/supertab supertab
test -d autotag || git submodule add https://github.com/craigemery/vim-autotag autotag
update:
git submodule update

8
vimrc
View File

@ -3,9 +3,9 @@ filetype off " required
" set the runtime path to include Vundle and initialize " set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
if exists("vundle#begin")
call vundle#begin() call vundle#begin()
" alternatively, pass a path where Vundle should install plugins " alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required " let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim' Plugin 'gmarik/Vundle.vim'
@ -20,6 +20,7 @@ Plugin 'valloric/youcompleteme'
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required
endif
set background=dark set background=dark
set autoindent set autoindent
@ -48,11 +49,6 @@ filetype plugin indent on
"execute Makefile "execute Makefile
:map <F9> :! ~/.vim/custom_make.sh<cr> :map <F9> :! ~/.vim/custom_make.sh<cr>
:imap <F9> <Esc><F9> :imap <F9> <Esc><F9>
"only execute pathogen if it exists
runtime! autoload/pathogen.vim
if exists("*pathogen#infect")
execute pathogen#infect()
endif
"Split view if multiple files are opened "Split view if multiple files are opened
if argc() == 2 if argc() == 2
silent vertical all silent vertical all