Created
February 13, 2014 17:46
-
-
Save truffaut/8980165 to your computer and use it in GitHub Desktop.
A simple Vim configuration file to get you on your merry way.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " don't need Vi compatibility | |
syntax on " color syntax highlighting | |
set backspace=indent,eol,start " make backspace work normally | |
filetype plugin indent on " load filetype-specific plugins, indent, highlighting settings | |
set smarttab " make <TAB> use shiftwidth for spacing | |
set autoindent " new lines will have the same indentation as the line above | |
set smartindent " use smart autoindenting when starting new lines | |
set tabstop=2 " set tab width to 2 spaces | |
set expandtab " use the appropriate amount of spaces when inserting a tab | |
set shiftwidth=2 " number of spaces to use for each step of indent | |
set number " show line numbers | |
set nobackup " don't use .swp files | |
set showmatch " show bracket matches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment