As in the title, is there currently an option to shut down the daemon automatically together with the client?
I think you can already achieve this with a keybind:
:bind q remote kill & quit
Oh well... I could set it, (and there needs to be a backslash before the ampersand), but it does'nt kill the daemon for some reason. Any idea?
Looks like the message never makes it to the daemon because the connection closes too quickly. I'm not sure if this should be remedied with a wait 5 or something, or if this should be handled externally (i.e. canto-curses && canto-remote kill to invoke canto which does work)
canto-curses && canto-remote kill
Right... I do achieve this currently externally, with this little script:
canto-daemon & canto-curses
kill `jobs -p`
Perhaps using canto-remote kill would be better, though. Maybe you could also add a little boolean option to make sure the daemon is killed before exit?
In git I've added
:kill_daemon_on_exit = (True|False)
to enable this functionality.
EDIT: In canto-curses of course