Skip to content

Instantly share code, notes, and snippets.

Created October 29, 2015 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b790cceefc44327246ff to your computer and use it in GitHub Desktop.
Save anonymous/b790cceefc44327246ff to your computer and use it in GitHub Desktop.
" Vundle plugin manager boilerplate
" BEGIN
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/syntastic'
call vundle#end()
" Some basic settings
syntax enable " enable syntax highlighting
filetype plugin indent on " enable indentation based on file type
set number " show line numbers
set wildmenu " tab completion in ex-mode
set smartindent " Auto indent setting
set expandtab " use spaces as tabs
" Make Y behave like other capital commands
map Y y$
" center the screen when you go to next and previous matches to searches
nnoremap n nzzzv
nnoremap N Nzzzv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment