Skip to content

Instantly share code, notes, and snippets.

@stephenlb
Created May 13, 2014 05:19
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 stephenlb/b0715f2a2dc64905d97b to your computer and use it in GitHub Desktop.
Save stephenlb/b0715f2a2dc64905d97b to your computer and use it in GitHub Desktop.
set nobackup
set undofile " Undo across sessions
set undolevels=200 " Keep 200 changes to be undone
set undodir=~/.vim/tmp/undo//
nmap <F2> :.w !pbcopy<CR><CR>
vmap <F2> :w !pbcopy<CR><CR>
set noswapfile
set t_Co=256
set background=dark
colorscheme baycomb
syntax enable
set hlsearch
set number
set et
set sw=4
set smarttab
set autoindent
set statusline=%l(%L):%c\ \ %F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment