Created
August 8, 2013 16:17
-
-
Save dorvak/6186084 to your computer and use it in GitHub Desktop.
My Vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'taglist.vim' | |
Bundle 'scrooloose/nerdtree' | |
Bundle 'scrooloose/syntastic' | |
Bundle 'ervandew/supertab' | |
Bundle 'mattn/gist-vim' | |
Bundle 'mattn/webapi-vim' | |
Bundle 'davidhalter/jedi-vim' | |
Bundle 'flazz/vim-colorschemes' | |
Bundle 'ivanov/vim-ipython' | |
Bundle 'vim-pandoc/vim-pandoc' | |
filetype plugin indent on " required! | |
" | |
" Brief help | |
" :BundleList - list configured bundles | |
" :BundleInstall(!) - install(update) bundles | |
" :BundleSearch(!) foo - search(or refresh cache first) for foo | |
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" NOTE: comments after Bundle command are not allowed.. | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set incsearch | |
set ignorecase | |
set smartcase | |
set hlsearch | |
set gfn=Menlo:h14 | |
colorscheme zenburn | |
if $TERM == "xterm-256color" || $TERM == "screen-256color" || $COLORTERM == "gnome-terminal" | |
set t_Co=256 | |
endif | |
syntax on | |
" Mappings | |
nmap \q :nohlsearch<CR> | |
nmap <F5> :TlistToggle<cr> | |
nmap <F6> :NERDTreeToggle<CR> | |
nmap \l :setlocal number!<CR> | |
let maplocalleader = "," | |
let g:SuperTabDefaultCompletionType = "context" | |
func! WordProcessorMode() | |
setlocal formatoptions=1 | |
setlocal noexpandtab | |
map j gj | |
map k gk | |
setlocal spell spelllang=de_de | |
set thesaurus+=~/.vim/thesaurus/german.txt | |
set complete+=s | |
set formatprg=par | |
setlocal wrap | |
set synmaxcol=120 | |
colorscheme github | |
setlocal linebreak | |
endfu | |
com! WP call WordProcessorMode() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment