" Behaviour
set escapetime=0
set ai
set sw=2
set ts=2
set expandtab
set bf
set iclower
set extended
" UI
set ruler
"set nu
set windowname
set showmode
set terse
set noflash
" some kak-like keybindings
map gl $
map gh 0
map ge G
map gi ^
map dh d0
map dl d$
" format the buffer using pandoc
map FFF :%!pandoc -f commonmark -t commonmark --columns=72
map FFJ :%!par 72j
map FFW :%!fmt -w 72