" .vimrc for vim, surprising though it may seem " Will not play nicely with nvi on FreeBSD, obviously " GENERAL set nocompatible " break out of vi mode filetype on " detect file types set ffs=unix,dos,mac " support file types in said order " set digraph " for German characters aka umlauts set vb t_vb= " turn off audible bell set guioptions-=T " suppress toolbar " APPEARANCE set background=dark " use dark background syntax on " syntax highlighting colorscheme darkblue " default theme " COMMANDS set esckeys " allow usage of cursor keys in insert mode set backspace=2 " 'normal' backspacing " GENERAL USER INTERFACE set number " line numbers set backspace=2 " normal backspacing set lines=50 " height, longer for more space set columns=80 " width, 80 is typical unix width set lazyredraw " don't update screen when executing macros " COMMAND & STATUS LINES set ruler " always show cursor position set laststatus=2 " always show status line set showmode " show current mode set showcmd " show partially typed commands set wildchar= " command line expansion character " SEARCHING set ignorecase smartcase set hlsearch " highlight search terms set incsearch " highlight as search term is being typed " LINE WRAPPING set linebreak " wrap on spaces (soft word wrap) set textwidth=0 " FORMATTING set ai " autoindent set si " smartindent set softtabstop=4 " space width of tabs " ABBREVIATIONS iab WSL LLanfairpwllgwyngyllgogerychwyrndrobwlllllantysiliogogogoch iab RNS Rubenerd Show iab RNB Rubenerd Blog iab noPi 3.1415926535897932384626433832795028841972 iab noE 2.7182818284590452353602874713526624977573