diff options
| -rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -24,6 +24,24 @@ The file will be opened in the client from where `:connect` was executed by usin You can also use the `[e]dit` and `[b]uffer` shell commands available in `PATH`. +### Examples + +**Example** – [lf] integration: + +``` kak +def lf %(connect lf) +``` + +**Example** – [fzf] integration: + +``` kak +def fzf-files %(connect edit $(fzf)) +``` + +``` kak +def fzf-buffers %(connect buffer $(buffer | fzf)) +``` + ## Commands - `connect-shell [program] [arguments]`: Run a shell with `[e]dit`, `[b]uffer` and `EDITOR` connected to the current client @@ -41,3 +59,5 @@ You can also use the `[e]dit` and `[b]uffer` shell commands available in `PATH`. [IRC]: https://webchat.freenode.net?channels=kakoune [IRC Badge]: https://img.shields.io/badge/IRC-%23kakoune-blue.svg [Pathogen]: https://github.com/alexherbo2/pathogen.kak +[lf]: https://github.com/gokcehan/lf +[fzf]: https://github.com/junegunn/fzf |
