autocmd FileType html setlocal tabstop=2 shiftwidth=2 softtabstop=2
" jj is escape
inoremap jj
" ctrl+d inserts date string when in insert mode
inoremap :r!date +"\%Y\%m\%d "A
set nocompatible
set hidden
set t_Co=256
filetype on
filetype plugin on
syntax enable
set incsearch
set hlsearch
set nu
set showcmd
set autoindent
" 8 is default character tab
set shiftwidth=2
set softtabstop=2
set tabstop=2
" Spaces are better than a tab character
set expandtab
set smarttab
set wildmenu
set wildmode=list:longest,full
" set xterm title
set title
let &titlestring = "vim:%{expand(\"%:p %y %L\")} ".$USER."@".hostname().":".getcwd()
" spell check: pick first
" stole from https://castel.dev/post/lecture-notes-1/
inoremap u[s1z=`]au
"
" mouse support
set ttymouse=xterm2