Skip to content

Instantly share code, notes, and snippets.

@DerfOh
Created December 23, 2016 13:41
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 DerfOh/52887fd2be3525214584a7ffd48b9890 to your computer and use it in GitHub Desktop.
Save DerfOh/52887fd2be3525214584a7ffd48b9890 to your computer and use it in GitHub Desktop.
my .vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=/cygdrive/c/Users/fpaulin/.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'
" A tree explorer plugin for vim
Plugin 'scrooloose/nerdtree'
" Git wrapper for vim
Plugin 'tpope/vim-fugitive'
" ststus/tabline for vim
Plugin 'bling/vim-airline'
" " 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
" set up color theme
syntax enable
set background=dark
colorscheme solarized
" set up tabs/spaces
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment