I connect to an emacs server via emacsclient
. Frequently the first thing I want open is a new buffer with an ansi-terminal
in it.
Is there a way to launch emacsclient
and to send the command "open a new buffer with an ansi-terminal"?
EDIT: Or better yet, is there a way to launch emacsclient with the command "if a buffer is already open with ansi-terminal, then go to that buffer; otherwise, launch ansi-terminal in a new window"?