I know that such a thing is possible within eshell; however, I am now using vterm, and I'd like for when I type emacs for it to be as if I typed find-file.

For example, for eshell, you could do

alias emacs for i in ${eshell-flatten-list $*} {find-file $i}

1 Answer 1


M-x server-start and then use emacsclient in your terminal instead of emacs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.