Skip to content

Instantly share code, notes, and snippets.

@olivia
Last active August 29, 2015 14:01
Show Gist options
  • Save olivia/82867b552fa79ecc0de1 to your computer and use it in GitHub Desktop.
Save olivia/82867b552fa79ecc0de1 to your computer and use it in GitHub Desktop.
My .vimconfig
execute pathogen#infect()
set nocompatible " choose no compatibility with legacy vi
syntax enable
set encoding=utf-8
set showcmd " display incomplete commands
filetype plugin indent on " load file type plugins + indentation
"" whitespace
set nowrap " don't wrap lines
set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4)
set expandtab " use spaces, not tabs (optional)
set backspace=indent,eol,start " backspace through everything in insert mode
"" searching
set hlsearch " highlight matches
set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
"" Tabbinng
set showmatch
set autoindent
set smartindent
set smarttab
colorscheme busybee
"" line numbers
set relativenumber
set number
"" faster redraw
set ttyfast
"" ctrlp
set runtimepath^=~/.vim/bundle/ctrlp.vim
"" nerdtree
autocmd vimenter * if !argc() | NERDTree | endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment