Created
February 22, 2018 02:29
-
-
Save stowell/c0f21bee49405eb2c284b092903fe72a to your computer and use it in GitHub Desktop.
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 nocompatible | |
syntax off | |
" do not put a cr at the end of the file | |
set binary noeol | |
" highlighting search results is annoying | |
set nohlsearch | |
" show matching brackets | |
set showmatch | |
" make that backspace key work the way it should | |
set backspace=indent,eol,start | |
" show whitespace at end of lines | |
highlight WhitespaceEOL ctermbg=lightgray guibg=lightgray | |
match WhitespaceEOL /s+$/ | |
" make the last line where the status is two lines deep so you can see | |
" status always | |
set laststatus=2 | |
set statusline=%<%f%h%m%r%=%{&ff}\ %l,%c%V | |
" no bell, please | |
set vb | |
" tabs should be four spaces | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set smarttab | |
"filetype indent on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment