Skip to content

Instantly share code, notes, and snippets.

@philtomson
Created July 19, 2014 21:19
Show Gist options
  • Save philtomson/2b1d6def885b4bb5153e to your computer and use it in GitHub Desktop.
Save philtomson/2b1d6def885b4bb5153e to your computer and use it in GitHub Desktop.
set tabstop=2
set smarttab
set shiftwidth=2
set autoindent
set expandtab
set backspace=start,indent
set guifont=Inconsolata\ 14
set hlsearch
syntax on
autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g'\"" | endif
:filetype plugin on
set laststatus=2
set statusline=%{GitBranchInfoString()}
set statusline+=%= "right-align following items
set statusline+=\ %l/%L, "current line number/total number of lines,
set statusline+=%c "Column number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment