fancy buffer stuff (from https://github.com/ardumont/buffer-pack/blob/master/config/bindings.el)