Steal some stuff 

From https://github.com/ahmadseleem/ViMacs/blob/master/evil/vimacs.el