lets use vundle from now on

This commit is contained in:
Thomas Ruoff
2012-04-01 22:57:04 +02:00
parent bb7e7ded34
commit 32a92f2c53
12 changed files with 35 additions and 81 deletions

5
.gitignore vendored
View File

@@ -1,3 +1,6 @@
irssi irssi
vim/spell
vim/bundle/*
!vim/bundle/vundle
vim/.netrwhist vim/.netrwhist
vim/spell

27
.gitmodules vendored
View File

@@ -1,30 +1,9 @@
[submodule "oh-my-zsh"] [submodule "oh-my-zsh"]
path = oh-my-zsh path = oh-my-zsh
url = git@github.com:igrat/oh-my-zsh.git url = git@github.com:igrat/oh-my-zsh.git
[submodule "vim/bundle/vim-javascript"]
path = vim/bundle/vim-javascript
url = https://github.com/pangloss/vim-javascript.git
[submodule "vim/bundle/fugitive"]
path = vim/bundle/vim-fugitive
url = https://github.com/igrat/vim-fugitive.git
[submodule "vim/bundle/nerdtree"]
path = vim/bundle/nerdtree
url = https://github.com/scrooloose/nerdtree.git
[submodule "vim/bundle/vim-fuzzyfinder"]
path = vim/bundle/vim-fuzzyfinder
url = git@github.com:igrat/vim-fuzzyfinder.git
[submodule "vim/bundle/vim-l9"]
path = vim/bundle/vim-l9
url = git@github.com:igrat/vim-l9.git
[submodule "vim/bundle/vim-jade"]
path = vim/bundle/vim-jade
url = https://github.com/digitaltoad/vim-jade.git
[submodule "vim/bundle/vim-coffee-script"]
path = vim/bundle/vim-coffee-script
url = https://github.com/kchmck/vim-coffee-script.git
[submodule "config/awesome"] [submodule "config/awesome"]
path = config/awesome path = config/awesome
url = git@github.com:igrat/awesome-config.git url = git@github.com:igrat/awesome-config.git
[submodule "vim/bundle/vim-colors-solarized"] [submodule "vim/bundle/vundle"]
path = vim/bundle/vim-colors-solarized path = vim/bundle/vundle
url = git://github.com/altercation/vim-colors-solarized.git url = https://github.com/gmarik/vundle.git

1
vim/bundle/vundle Submodule

Submodule vim/bundle/vundle added at f69ae09a70

75
vimrc
View File

@@ -1,10 +1,31 @@
" FULL VIM " FULL VIM
set nocompatible set nocompatible
" PATHOGEN " Vundle
filetype off filetype off " required!
silent! call pathogen#runtime_append_all_bundles() set rtp+=~/.vim/bundle/vundle/
silent! call pathogen#helptags() call vundle#rc()
" My Bundles here:
"
" original repos on github
Bundle 'gmarik/vundle'
Bundle 'scrooloose/nerdtree'
Bundle 'pangloss/vim-javascript'
Bundle 'tpope/vim-fugitive'
Bundle 'clones/vim-l9'
Bundle 'clones/vim-fuzzyfinder'
Bundle 'altercation/vim-colors-solarized'
Bundle 'kchmck/vim-coffee-script'
" vim-scripts repos
"Bundle 'L9'
" non github repos
"Bundle 'git://git.wincent.com/command-t.git'
" Continue with the rest
filetype plugin indent on filetype plugin indent on
" MAP LEADER " MAP LEADER
@@ -227,51 +248,9 @@ au FileType python set noexpandtab
au FileType javascript setlocal ts=2 sts=2 sw=2 au FileType javascript setlocal ts=2 sts=2 sw=2
au BufRead,BufNewFile *.json set ft=json au BufRead,BufNewFile *.json set ft=json
" always show status line
set laststatus=2
"" STATUS LINE
set laststatus=2 " always hide the statusline
set statusline= " clear the statusline for when vimrc is reloaded
set statusline+=%-2.2n\ " buffer number
set statusline+=%f\ " tail of the filename
"display a warning if fileformat isnt unix
set statusline+=%#warningmsg#
set statusline+=%{&ff!='unix'?'['.&ff.']':''}
set statusline+=%*
"display a warning if file encoding isnt utf-8
set statusline+=%#warningmsg#
set statusline+=%{(&fenc!='utf-8'&&&fenc!='')?'['.&fenc.']':''}
set statusline+=%*
set statusline+=%h "help file flag
set statusline+=%y\ "filetype
set statusline+=%r "read only flag
set statusline+=%m "modified flag
" display the filesize
set statusline+=[%{FileSize()}]
set statusline+=\
" display current git branch
set statusline+=%{fugitive#statusline()}
set statusline+=\
" display a warning with Syntastic, of validation errors and syntax checkers
set statusline+=%#warningmsg#
set statusline+=%*
set statusline+=%= "left/right separator
set statusline+=%c, " cursor column
set statusline+=%l/%L " cursor line/total lines
set statusline+=\ %P\ " percent through file
set laststatus=2 " always show status line
"" TODO COLORING Status line
"highlight statusLine cterm=bold ctermfg=yellow ctermbg=darkred
"highlight statusLineNC cterm=bold ctermfg=black ctermbg=white
"
"highlight modeMsg cterm=bold ctermfg=white ctermbg=darkblue
"" MISC FUNCTIONS "" MISC FUNCTIONS
function! FileSize() function! FileSize()