Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
394 stars 44 forks source link

How to open emacsclient without creating a new workspace/perespective? #123

Open Sleepful opened 3 years ago

Sleepful commented 3 years ago

When I launch emacsclient it creates a new workspace every time. This is convenient, but sometimes I don't want it to do that, sometimes I just want it to connect to the daemon without creating a new workspace. Is there a way to do this? Something like emacsclient -n, the issue with emacsclient -n is that I can't call it without a file as an argument.

Sleepful commented 3 years ago

I guess this is a solution alias emacsNoPersp='emacsclient -e \(+workspace:delete\)' *function from Doom emacs. Is this behavior baked into persp though? is there a way to customize it?