Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- filetype off
- " Vundle : init
- set shell=/bin/bash
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- Plugin 'VundleVim/Vundle.vim'
- " Utility
- Plugin 'scrooloose/nerdtree'
- Plugin 'majutsushi/tagbar'
- " Markdown
- Plugin 'godlygeek/tabular'
- Plugin 'plasticboy/vim-markdown'
- " Git Support
- Plugin 'kablamo/vim-git-log'
- Plugin 'gregsexton/gitv'
- Plugin 'tpope/vim-fugitive'
- " PHP Support
- Plugin 'phpvim/phpcd.vim'
- Plugin 'tobyS/pdv'
- " Puppet Support
- Plugin 'rodjek/vim-puppet'
- " Ansible Support
- Plugin 'chase/vim-ansible-yaml'
- " GPG
- Plugin 'git://github.com/jamessan/vim-gnupg.git'
- " LaTeX
- Plugin 'LaTeX-Suite-aka-Vim-LaTeX'
- set spell
- set spelllang=de
- au BufEnter *.tex set autowrite
- let g:Tex_DefaultTargetFormat = 'pdf'
- let g:Tex_MultipleCompileFormats = 'pdf'
- let g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*'
- let g:Tex_GotoError = 0
- let g:Tex_ViewRule_pdf = 'atril'
- " Vundle : finalize
- call vundle#end()
- filetype plugin indent on
- " Set Proper Tabs
- set tabstop=4
- set shiftwidth=4
- set smarttab
- set expandtab
- " Set indention
- set autoindent
- set smartindent
- set cindent
- " filetype
- au FileType puppet setl sw=2 sts=2 et
- au BufRead,BufNewFile */playbooks/*.yml set filetype=ansible
- au FileType ansible setl sw=2 sts=2 et
- " no arrow keys
- "noremap <Up> <NOP>
- "noremap <Down> <NOP>
- "noremap <Left> <NOP>
- "noremap <Right> <NOP>
- " toogle paste mode on <F2> and give feedback
- nnoremap <F2> :set invpaste paste?<CR>
- set pastetoggle=<F2>
- set showmode
- " toogle toolbar and NerdTree
- map <C-n> :NERDTreeToggle<CR>
- map <C-m> :TagbarToggle<CR>
Add Comment
Please, Sign In to add comment