Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created July 28, 2014 23:49
Show Gist options
  • Save kelseyhightower/849f095f24ace2098bbc to your computer and use it in GitHub Desktop.
Save kelseyhightower/849f095f24ace2098bbc to your computer and use it in GitHub Desktop.
set autoread
set backspace=eol,start,indent
set encoding=utf8
set hlsearch
set laststatus=2
set nocompatible
set nobackup
set noexpandtab
set noswapfile
set nowb
set ruler
set shiftwidth=4
set tabstop=4
set undodir=~/.vim_runtime/undodir
set undofile
set whichwrap+=<,>,h,l
set wrap
let mapleader = ","
noremap <Leader>s :update<CR>
noremap <Leader>v :vsplit<CR>
noremap <Leader>c :close<CR>
noremap <Leader>e :CtrlP<CR>
noremap <Leader>b :CtrlPBuffer<CR>
map <leader>ss :setlocal spell!<cr>
map <leader>sn ]s
map <leader>sp [s
map <leader>sa zg
map <leader>s? z=
set runtimepath^=~/.vim/bundle/ctrlp.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment