colorscheme industry filetype plugin on " Command line: set cmdheight=1 set wildmenu set wildignore+=*.o,.git,*.class " Search set ignorecase set smartcase " Screen set nonumber set scrolloff=5 " show a few lines of context set colorcolumn=+1 " highlight column after 'textwidth' " Add buffer number to the default status line with ruler set statusline=%<%f\ %h%m%r%=b%02n\ \ %-14.(%l,%c%V%)\ %P " Indentation: 4 spaces " See also: autoindent, smartindent, cindent, indentexpr set tabstop=4 " Each '\t' takes 8 virtual (screen) columns set shiftwidth=0 " (Auto)indentation. Also affects: >>, i_C-T, i_C-D set expandtab " Expand inserted s with set smartindent " Smart indenting when starting a new line " Formatting: See fo-table set formatoptions+=t " auto-wrap text (when inserting) set formatoptions+=c " auto-wrap comments (when inserting) set formatoptions+=q " Allow formatting of comments with "gq" set formatoptions+=j " Removes comment leader when joining lines set formatoptions+=l " Don't break long lines that are already typed set formatoptions+=r " Insert current leader after in Insert mode set formatoptions+=p " Don't break honorifics like Prof. Smith set formatoptions+=n " Recognize numbered lists set formatoptions+=o " Automatically insert the current comment " leader after `o`. " Wrap: Auto-break lines longer than 80 colums set textwidth=80 set wrap set linebreak " Don't break words " Mouse set mouse=a " Enable mouse for all modes " Buffers set hidden " Allow for hidden modified buffers set splitbelow splitright " Mappings (F13 is , don't ask me why) map :tabp map :tabn map :bNext map :bnext