Created
December 8, 2015 22:53
-
-
Save danudey/e3ba54fa1d937605f31e to your computer and use it in GitHub Desktop.
A simple custom vimrc
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 showcmd " Show (partial) command in status line. | |
set showmatch " Show matching brackets. | |
set smartcase " Do smart case matching | |
set incsearch " Incremental search | |
set mouse=a " Enable mouse usage (all modes) | |
set encoding=utf-8 " Set default file encoding | |
syntax on " Enable syntax highlighting | |
filetype plugin indent on " When loading a syntax plugin, load filetype indent rules | |
" These are default on our servers but not necessarily elsewhere | |
set expandtab " 'Soft tabs' | |
set tabstop=4 " The width to display a literal \t as | |
set shiftwidth=4 " When indenting/unindenting with << / >>, shfit by 4 | |
set softtabstop=4 " 'Soft tabs' indent by 4 spaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment