vi() { emacs -nw --eval '(and (switch-to-buffer "foobar") (setq viper-mode t) (setq viper-inhibit-startup-message t) (setq viper-expert-level 1) (viper-mode))' "$@" } alias vim=vi alias vim.tiny=vi alias vim.basic=vi