Created
August 28, 2013 10:03
-
-
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.
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
" 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 |
Author
davidwinter
commented
Aug 28, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment