some buffer config and keybindings for emacs