Skip to content

Instantly share code, notes, and snippets.

@davidwinter
Created August 28, 2013 10:03
Show Gist options
  • Save davidwinter/6364385 to your computer and use it in GitHub Desktop.
Save davidwinter/6364385 to your computer and use it in GitHub Desktop.
My attempt at a simple `.vimrc` file with the aim to have sensible defaults.
" Disable vi compatibility so we can use cool vim stuff:
set nocompatible
" Line numbers (left hand side) and position (bottom right):
set ruler
set number
" Highlight current line:
set cul
" Filetype aware:
filetype plugin on
filetype indent on
" Syntax highlighting:
syntax on
" We don't need backup files:
set nobackup
set nowb
set noswapfile
" Set tabs to 4 spaces
set tabstop=4
set shiftwidth=4
@davidwinter
Copy link
Author

Current

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment