diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-03-02 02:08:17 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-03-02 02:08:17 +0000 |
| commit | 4ba99f7d6f7b36ebecd397315dc225655391e2cb (patch) | |
| tree | c8e2f34c92fd4c06d8870f8a741113f6c24f9941 /doc/interfacing.asciidoc | |
| parent | 30093413f797074d1d5a4ef5878540a3bfc5ad3e (diff) | |
Update documentation
Diffstat (limited to 'doc/interfacing.asciidoc')
| -rw-r--r-- | doc/interfacing.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/interfacing.asciidoc b/doc/interfacing.asciidoc index e636ccea..328357f9 100644 --- a/doc/interfacing.asciidoc +++ b/doc/interfacing.asciidoc @@ -28,7 +28,7 @@ For example, we can echo a message in Kakoune in 10 seconds with: :nop %sh{ ( sleep 10 echo "eval -client '$kak_client' 'echo sleep ended'" | - socat stdin UNIX-CONNECT:/tmp/kak-${kak_session} + kak -p ${kak_session} ) >& /dev/null < /dev/null & } ---- @@ -118,6 +118,6 @@ nop %sh{ ( # launch a detached shell completions="$line.$column@$kak_timestamp:$candidates" # write to Kakoune socket for the buffer that triggered the completion echo "set buffer=${kak_bufname} completions '$completions'" | - socat stdin UNIX-SOCKET:/tmp/kak-${kak_session} + kak -p ${kak_session} ) >& /dev/null < /dev/null & } ----- |
