Skip to content

Instantly share code, notes, and snippets.

@mikestreety
Created April 27, 2016 09:19
Show Gist options
  • Save mikestreety/e22dc8bdb819388cc72e1aaef0d49767 to your computer and use it in GitHub Desktop.
Save mikestreety/e22dc8bdb819388cc72e1aaef0d49767 to your computer and use it in GitHub Desktop.
Vim settings file
filetype indent plugin on
" Turn on suntax highlighting
syntax on
" Set dark background
set background=dark
" Set utf8 as standard encoding and en_US as the standard language
set encoding=utf8
" Turn backup off, since most stuff is in SVN, git et.c anyway...
set nobackup
set nowb
set noswapfile
" Be smart when using tabs ;)
set smarttab
" 1 tab == 4 spaces
set shiftwidth=4
set tabstop=4
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment