Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. set nocompatible " be iMproved, required
  2.  
  3. " set the runtime path to include Vundle and initialize
  4. set rtp+=~/.vim/bundle/Vundle.vim
  5. call vundle#begin()
  6. " alternatively, pass a path where Vundle should install plugins
  7. "call vundle#begin('~/some/path/here')
  8.  
  9. " let Vundle manage Vundle, required
  10. Plugin 'VundleVim/Vundle.vim'
  11. Plugin 'vim-airline/vim-airline'
  12. Plugin 'vim-airline/vim-airline-themes'
  13. Plugin 'scrooloose/syntastic'
  14.  
  15. let g:syntastic_puppet_puppetlint_args = "--no-140chars-check"
  16.  
  17. " All of your Plugins must be added before the following line
  18. call vundle#end() " required
  19. filetype plugin indent on " required
  20.  
  21. " To ignore plugin indent changes, instead use:
  22. "filetype plugin on
  23. "
  24. " Brief help
  25. " :PluginList - lists configured plugins
  26. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  27. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  28. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  29. "
  30. " see :h vundle for more details or wiki for FAQ
  31. " Put your non-Plugin stuff after this line
  32.  
  33. autocmd StdinReadPre * let s:std_in=1
  34. autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
  35.  
  36. syntax on
  37.  
  38. set autoindent
  39. set bg=dark
  40. set paste
  41. set softtabstop=4
  42. set tabstop=4
  43. set shiftwidth=4
  44. set expandtab
  45. set t_ti= t_te=
  46. set textwidth=72
  47. set laststatus=2
  48. set showtabline=0
  49. set showmode
  50.  
  51. highlight LiteralTabs ctermbg=darkgreen guibg=darkgreen
  52. match LiteralTabs /\s\ /
  53. highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen
  54. match ExtraWhitespace /\s\+$/
  55.  
  56. " set spell spelllang=en_us
  57.  
  58. " Override the default "saved" cursor position from the last commit.
  59. function GitCommitBufEnter()
  60. if &filetype == "gitcommit"
  61. call setpos('.', [0, 1, 1, 0])
  62. endif
  63. endfunction
  64. au BufEnter * call GitCommitBufEnter()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement