Skip to content

Instantly share code, notes, and snippets.

@DrDougPhD
Last active October 3, 2016 16:29
Show Gist options
  • Save DrDougPhD/c287424a3b86a8a7a7b14be0b7f97427 to your computer and use it in GitHub Desktop.
Save DrDougPhD/c287424a3b86a8a7a7b14be0b7f97427 to your computer and use it in GitHub Desktop.
Here's my vimrc file. Dark background and appropriate highlighting, tabs appear the equivalent width of 2 spaces, syntax highlighting, and I don't know what that last line does exactly but it's dope.
set background=dark "color scheme for reading source code
set tabstop=2 "width of tabs should be equal to width of two spaces
set shiftwidth=2 "number of tabs entered for auto-indenting
set colorcolumn=80 "display right-hand-side verticle column as reminder of
" the maximum suggested width of source code
"set expandtab "replace new tabs with spaces
"retab "replace old tabs with spaces
syntax on
filetype indent plugin on
set hlsearch "when I'm searching, this will highlight what I'm searching for
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment