Parse emacs mode line and setlocal in vim