13 unstable releases (3 breaking)

0.4.1 Jul 15, 2023
0.4.0 Jul 14, 2023
0.4.0-alpha.3 Jun 7, 2023
0.3.0 Jun 6, 2023
0.1.0 Jun 4, 2023

#3 in #kakoune

Download history 250/week @ 2023-06-04 23/week @ 2023-06-11 11/week @ 2023-06-18 14/week @ 2023-06-25 21/week @ 2023-07-02 45/week @ 2023-07-09 27/week @ 2023-07-16 14/week @ 2023-07-23 3/week @ 2023-07-30 26/week @ 2023-08-06 13/week @ 2023-08-13 10/week @ 2023-08-27 37/week @ 2023-09-03 5/week @ 2023-09-10

62 downloads per month

CC0 license

1.5K SLoC


Kakoune popups for running ephemeral commands.





tmux must be installed. It is not required that kakoune runs under tmux, just that it's installed.

  1. Install the binary with cargo install kak-popup.
  2. Add evaluate-commands %sh{kak-popup init} to your kakrc.


  1. Install the plugin using nix or manually place rc/popup.kak into your autoload directory.
  2. Install kak-popup with cargo or nix.


Within kakoune

popup [<switches>] <shell-command> <shell-arg1>...: create a modal running
<shell-command> 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"

Popups can be exited using <c-space>.

  --kak-script <commands> kakoune script to execute after the shell-command
                          exits, providing any standard output through
  --title <title>         the title of the modal
  --input <input>         input passed as the stdin of <shell-command>
  --on-err <on-err>       what to do on non-zero exit status
            warn          show a modal with stderr
            dismiss       dismiss modal without running KAK_SCRIPT
            ignore        ignore status and always run KAK_SCRIPT


These are some possible ways to use popup.kak:

popup fish

popup --title open --kak-script %{edit %opt{popup_output}} -- fzf


~252K SLoC