Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible " be iMproved, required
- " set the runtime path to include Vundle and initialize
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- " alternatively, pass a path where Vundle should install plugins
- "call vundle#begin('~/some/path/here')
- " let Vundle manage Vundle, required
- Plugin 'VundleVim/Vundle.vim'
- Plugin 'vim-airline/vim-airline'
- Plugin 'vim-airline/vim-airline-themes'
- Plugin 'scrooloose/syntastic'
- let g:syntastic_puppet_puppetlint_args = "--no-140chars-check"
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- filetype plugin indent on " required
- " To ignore plugin indent changes, instead use:
- "filetype plugin on
- "
- " Brief help
- " :PluginList - lists configured plugins
- " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
- " :PluginSearch foo - searches for foo; append `!` to refresh local cache
- " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
- "
- " see :h vundle for more details or wiki for FAQ
- " Put your non-Plugin stuff after this line
- autocmd StdinReadPre * let s:std_in=1
- autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
- syntax on
- set autoindent
- set bg=dark
- set paste
- set softtabstop=4
- set tabstop=4
- set shiftwidth=4
- set expandtab
- set t_ti= t_te=
- set textwidth=72
- set laststatus=2
- set showtabline=0
- set showmode
- highlight LiteralTabs ctermbg=darkgreen guibg=darkgreen
- match LiteralTabs /\s\ /
- highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen
- match ExtraWhitespace /\s\+$/
- " set spell spelllang=en_us
- " Override the default "saved" cursor position from the last commit.
- function GitCommitBufEnter()
- if &filetype == "gitcommit"
- call setpos('.', [0, 1, 1, 0])
- endif
- endfunction
- au BufEnter * call GitCommitBufEnter()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement