Skip to content

Instantly share code, notes, and snippets.

@amcooper
Created October 26, 2016 17:35
Show Gist options
  • Save amcooper/66c3eb318e48e84bd0e8cbbb6300da8a to your computer and use it in GitHub Desktop.
Save amcooper/66c3eb318e48e84bd0e8cbbb6300da8a to your computer and use it in GitHub Desktop.
" Make backspace behave in a sane manner.
set backspace=indent,eol,start
" Switch syntax highlighting on
syntax enable
" Enable file type detection and do language-dependent indenting
filetype plugin indent on
" Show line numbers
set number
" Allow hidden buffers, don't limit to one file per window/split
set hidden
" Sane vim split naviagation (via Gaslight blog)
nnoremap <c-j> <c-w>j
nnoremap <c-k> <c-w>k
nnoremap <c-h> <c-w>h
nnoremap <c-l> <c-w>l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment