https://github.com/danr/kakoune-remote-control
kak remote control (krc), reimplementation of alexherbo2's connect.kak
https://github.com/danr/kakoune-remote-control
Last synced: over 1 year ago
JSON representation
kak remote control (krc), reimplementation of alexherbo2's connect.kak
- Host: GitHub
- URL: https://github.com/danr/kakoune-remote-control
- Owner: danr
- Created: 2021-01-07T22:28:15.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-17T06:51:23.000Z (about 5 years ago)
- Last Synced: 2025-03-29T17:51:11.684Z (over 1 year ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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.