Created
July 14, 2014 02:33
-
-
Save benmccormick/40ee9e2a942f94777629 to your computer and use it in GitHub Desktop.
vimrc Boilerplate
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
"<Your Name Here> | |
" Setup stuff | |
" =========== | |
" Use vim rather than vi settings | |
set nocompatible | |
" Plugins Setup | |
" ============= | |
" Use a plugin manager like Vundle here | |
" General Config | |
" ============== | |
"Set up your configuration here. Some common options are below | |
"as examples | |
set encoding=utf-8 | |
set number " Line numbers are nice | |
set backspace=indent,eol,start " Allow backspace in insert mode | |
set history=1000 " Store lots of :cmdline history | |
set showcmd " Show incomplete cmds down the bottom | |
set hidden " Buffers can exist in the background | |
" Indentation and Display | |
" ======================= | |
" This sets us up to replace tabs with spaces and have 4 space width indentation | |
set autoindent | |
set smartindent | |
set smarttab | |
set shiftwidth=4 | |
set softtabstop=4 | |
set tabstop=4 | |
set expandtab | |
set list listchars=tab:\ \ ,trail:· " Display tabs and trailing spaces visually | |
set nowrap " Don't wrap lines | |
" Custom keymappings | |
" =============== | |
"Add your own keymappings here | |
" Plugin Options | |
" ============== | |
" Any plugin configuration should happen here | |
"Syntax Specific | |
" Mostly syntax specific stuff should go in ftplugin files, | |
" but you can put some short autocommand ones here if you don't have many |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment