Created
April 9, 2013 14:25
-
-
Save MartinThoma/5346080 to your computer and use it in GitHub Desktop.
My current .vimrc file.
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
syntax on " enable syntax highlighting | |
filetype on " enable file type detection | |
" Set some nice character listings, then activate list | |
set list listchars=tab:⟶\ ,trail:·,extends:>,precedes:<,nbsp:% | |
set list | |
" 1 tab == 4 spaces | |
set shiftwidth=4 | |
set tabstop=4 | |
set number " turn on line numbers | |
set showmatch " show matching brackets | |
" Highlight current line | |
set cursorline | |
hi CursorLine cterm=NONE ctermbg=lightgrey | |
" Show when lines get too long | |
set textwidth=80 | |
set colorcolumn=+1 | |
highlight OverLength ctermbg=red ctermfg=white guibg=#592929 | |
match OverLength /\%81v.\+/ | |
set autoindent " keep intendation level | |
hi SpecialKey ctermfg=white ctermbg=none cterm=none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment