set autoindent " automatic indent new lines set smartindent " be smart about it set wrap " wrap lines set softtabstop=2 set shiftwidth=2 set expandtab " expand tabs to spaces set nosmarttab " fuck tabs set formatoptions+=n " support for numbered/bullet lists set tabstop=8 set wrapmargin=0 set textwidth=99 " wrap at 99 chars by default " Enable all keys to move the cursor left/right to the previous/next line set whichwrap=b,s,h,l,<,>,[,] " Allow backspacing over everything in insert mode set backspace=indent,eol,start set nostartofline " don't jump to the start of line when scrolling set wildmenu " turn on wild menu set wildmode=list:longest,full set completeopt=menu,menuone " Treat octal and hexadecimal number as decimal number " octal Numbers that start with a zero will be considered to be octal " Example: Using CTRL-A on "007" results in "010" " hex Numbers starting with "0x" or "0X" will be considered to be hexadecimal " Example: Using CTRL-X on "0x100" results in "0x0ff" set nrformats+=octal,hex