Guest User

Untitled

a guest
Jun 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. set nocompatible
  2. filetype off
  3.  
  4. " Vundle : init
  5. set shell=/bin/bash
  6. set rtp+=~/.vim/bundle/Vundle.vim
  7. call vundle#begin()
  8. Plugin 'VundleVim/Vundle.vim'
  9.  
  10. " Utility
  11. Plugin 'scrooloose/nerdtree'
  12. Plugin 'majutsushi/tagbar'
  13.  
  14. " Markdown
  15. Plugin 'godlygeek/tabular'
  16. Plugin 'plasticboy/vim-markdown'
  17.  
  18. " Git Support
  19. Plugin 'kablamo/vim-git-log'
  20. Plugin 'gregsexton/gitv'
  21. Plugin 'tpope/vim-fugitive'
  22.  
  23. " PHP Support
  24. Plugin 'phpvim/phpcd.vim'
  25. Plugin 'tobyS/pdv'
  26.  
  27. " Puppet Support
  28. Plugin 'rodjek/vim-puppet'
  29.  
  30. " Ansible Support
  31. Plugin 'chase/vim-ansible-yaml'
  32.  
  33. " GPG
  34. Plugin 'git://github.com/jamessan/vim-gnupg.git'
  35.  
  36. " LaTeX
  37. Plugin 'LaTeX-Suite-aka-Vim-LaTeX'
  38. set spell
  39. set spelllang=de
  40. au BufEnter *.tex set autowrite
  41. let g:Tex_DefaultTargetFormat = 'pdf'
  42. let g:Tex_MultipleCompileFormats = 'pdf'
  43. let g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*'
  44. let g:Tex_GotoError = 0
  45. let g:Tex_ViewRule_pdf = 'atril'
  46.  
  47. " Vundle : finalize
  48. call vundle#end()
  49. filetype plugin indent on
  50.  
  51. " Set Proper Tabs
  52. set tabstop=4
  53. set shiftwidth=4
  54. set smarttab
  55. set expandtab
  56.  
  57. " Set indention
  58. set autoindent
  59. set smartindent
  60. set cindent
  61.  
  62. " filetype
  63. au FileType puppet setl sw=2 sts=2 et
  64. au BufRead,BufNewFile */playbooks/*.yml set filetype=ansible
  65. au FileType ansible setl sw=2 sts=2 et
  66.  
  67. " no arrow keys
  68. "noremap <Up> <NOP>
  69. "noremap <Down> <NOP>
  70. "noremap <Left> <NOP>
  71. "noremap <Right> <NOP>
  72.  
  73. " toogle paste mode on <F2> and give feedback
  74. nnoremap <F2> :set invpaste paste?<CR>
  75. set pastetoggle=<F2>
  76. set showmode
  77.  
  78. " toogle toolbar and NerdTree
  79. map <C-n> :NERDTreeToggle<CR>
  80. map <C-m> :TagbarToggle<CR>
Add Comment
Please, Sign In to add comment