popup.kak

Kakoune popups for running ephemeral commands.

Installation

  1. Install the plugin using nix or manually place rc/popup.kak into your autoload directory.
  2. cargo install kak-popup.
  3. tmux must also be installed.

Usage

Within kakoune ``` popup [] ...: create a modal running in a terminal. Switches are prefixed with --. The command and arguments can be passed as a single string or as a series of arguments, for example, the following two invocations are equivalent:

popup --title open 'fish -c "some fish command"'

popup --title open -- fish -c 'some fish command'

Switches: --kak-script kakoune script to execute after the shell-command exits, providing any standard output through %opt{popup_output} --title the title of the modal ```</p> <p>For example, <code> popup fish </code> will spawn a fish shell. For a simple file-picker: <code> popup --title open --kak-script %{edit %opt{popup_output}} fzf </code></p> </body></html>