add emacs setting
    add funcs for split window