Last active
January 26, 2016 22:13
-
-
Save odyssey4me/74d9ebc4c13d174bc3eb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" Remove old vi compatibility | |
set nocompatible | |
" Enable Syntax Highlighting | |
filetype on | |
filetype plugin on | |
syntax enable | |
set grepprg=grep\ -nH\ $* | |
" Use spaces instead of tabs | |
set expandtab | |
set smarttab | |
" Set tab width | |
set shiftwidth=4 | |
set softtabstop=4 | |
set tabstop=8 | |
" Set backspace to remove lines, etc | |
set bs=2 | |
" Use colors that look good on a dark screen | |
set background=dark | |
" Show the ruler | |
set ruler | |
" Set text wrapping | |
" set tw=78 | |
" Show tabs, end of line, etc | |
set list | |
set listchars=tab:>-,extends:# | |
" Allow the use of modelines | |
set modeline | |
" Disable auto indent | |
filetype indent plugin off | |
" Show trailing whitespace | |
:highlight ExtraWhitespace ctermbg=red guibg=red | |
:match ExtraWhitespace /\s\+\%#\@<!$/ | |
Show lines that are over 80 chars long | |
highlight OverLength ctermbg=darkred ctermfg=white guibg=#FFD9D9 | |
match OverLength /\%81v.*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment