Added various plugins.

This commit is contained in:
2013-09-21 23:22:39 +02:00
parent 84f9cd40ab
commit 8c378c51be

View File

@@ -32,11 +32,32 @@ set rtp+=~/.vim/bundle/vundle/
call vundle#rc() call vundle#rc()
Bundle 'gmarik/vundle' Bundle 'gmarik/vundle'
filetype plugin indent on
" solarized color theme " solarized color theme
Bundle 'altercation/vim-colors-solarized' Bundle 'altercation/vim-colors-solarized'
" display the undo history in a graph
Bundle 'mbbill/undotree'
" tree explorer plugin
Bundle 'scrooloose/nerdtree'
" quoting/parenthesizing made simple
Bundle 'tpope/vim-surround'
" better commenting
Bundle 'scrooloose/nerdcommenter'
" nice auto completion
Bundle 'Shougo/neocomplcache.vim'
" nice text alignment
Bundle 'godlygeek/tabular'
" status line plugin
Bundle 'bling/vim-airline'
filetype plugin indent on
" setup for the solarized color theme " setup for the solarized color theme
set background=dark set background=dark
let g:solarized_termcolors=16 let g:solarized_termcolors=16
@@ -46,6 +67,22 @@ let g:solarized_visibility="normal"
syntax enable syntax enable
colorscheme solarized colorscheme solarized
set clipboard=unnamed " enable copying into the clipboard
set esckeys " enable cursor keys in insert mode
set ttimeoutlen=50
set modeline " respect modelines in files
set modelines=4
set laststatus=2 " always show a status line
"set nostartofline " do not reset the cursor into the first
" " column when moving
set shortmess=rti " shorten some messages
set mouse=a " enable mouse support set mouse=a " enable mouse support
set mousehide " hide the mouse when typing set mousehide " hide the mouse when typing
@@ -115,7 +152,7 @@ set smarttab " use shiftwidth when tabbing in front of
" a line instead of tabsstop/softtabstop " a line instead of tabsstop/softtabstop
set undofile " use an undo file set undofile " use an undo file
set undodir=~/.vim/backups " store undo files in a fixed directory set undodir=~/.vim/undo " store undo files in a fixed directory
" instead of the current directory " instead of the current directory
set undolevels=1000 " undo a maximum of 1000 changes set undolevels=1000 " undo a maximum of 1000 changes
set undoreload=10000 " save the whole buffer for undo when set undoreload=10000 " save the whole buffer for undo when