/kakoune-remote-control

kak remote control (krc), reimplementation of alexherbo2's connect.kak

Primary LanguageShell

kakoune-remote-control (krc)
Usage:
    krc COMMAND [...ARGS]

Where COMMAND is one of:
  kak-defs       Run in kak with `eval %sh{ krc kak-defs }` to define :connect.
  env            Print the current $session and $client to stdout.
  raw-send       Evaluate kak script from stdin in $session. Run in $client if set.
  raw-send-sync  Evaluate kak script from stdin in $session, waiting for completion. Run in
                 $client if set. Any errors are written on stderr.
  send           Run one kak command in $session, in $client if set.
  send-fg        Focus the $client and run one kak command in $session.
  send-sync      Run one kak command in $session (in $client if set) and wait for the result.
  get            Print the echo of arguments in kak $session on stdout. Run in $client if set.
  attach         Start a new kak client in $session.
  attach-with    Start a new kak client in $session, running the argument kak command at startup.