Skip to content

Instantly share code, notes, and snippets.

@stuartmaxwell
Last active June 27, 2018 04:02
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 stuartmaxwell/15a94947781457d17b99211dac11d099 to your computer and use it in GitHub Desktop.
Save stuartmaxwell/15a94947781457d17b99211dac11d099 to your computer and use it in GitHub Desktop.
color dracula " mkdir -p ~/.vim/colors; wget https://raw.githubusercontent.com/dracula/vim/master/colors/dracula.vim -O ~/.vim/colors/dracula.vim
syntax enable " enable syntax colouring
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set expandtab " tabs are spaces
set number " show line numbers
set showcmd " show command in bottom bar
filetype indent on " load filetype-specific indent files
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to.
set showmatch " highlight matching [{()}]
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab " fix crazy yaml spacing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment