Making switch to vundle complete.
This commit is contained in:
parent
3e7ec2f9fd
commit
7ec7c75926
@ -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
|
|
34
vimrc
34
vimrc
@ -3,23 +3,24 @@ 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
|
||||||
call vundle#begin()
|
if exists("vundle#begin")
|
||||||
" alternatively, pass a path where Vundle should install plugins
|
call vundle#begin()
|
||||||
"call vundle#begin('~/some/path/here')
|
" alternatively, pass a path where Vundle should install plugins
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
Plugin 'gmarik/Vundle.vim'
|
Plugin 'gmarik/Vundle.vim'
|
||||||
|
|
||||||
"Other plugins
|
"Other plugins
|
||||||
Plugin 'tomtom/tlib_vim'
|
Plugin 'tomtom/tlib_vim'
|
||||||
Plugin 'MarcWeber/vim-addon-mw-utils'
|
Plugin 'MarcWeber/vim-addon-mw-utils'
|
||||||
Plugin 'garbas/vim-snipmate'
|
Plugin 'garbas/vim-snipmate'
|
||||||
Plugin 'honza/vim-snippets'
|
Plugin 'honza/vim-snippets'
|
||||||
Plugin 'alfredodeza/coveragepy.vim'
|
Plugin 'alfredodeza/coveragepy.vim'
|
||||||
Plugin 'valloric/youcompleteme'
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user