forbesmyester / xmux.kak

It's like a Frankenstein version of the X11 and tmux REPL's
4 stars 0 forks source link
client-server kakoune plugin

xmux.kak

Kakoune external REPL which uses tmux for comms

What is it

I like the fact that the inbuild X11 REPL creates external windows.

What I do not like is the fact that when I send text to it, it uses xdotoolto switch windows / focus.

I like the fact that the tmux REPL uses sockets for communication as it's not switching windows / focus.

This Kakoune plugin blends these two ideas and provides a REPL that is launched in an external window but uses a TMUX socket for communication... I think this is the best of both worlds.

Installation

Usage

Provides just one commands xmux-repl which spawn a REPL. When you use this command it will attach more commands such as:

XMUX configuration

These notes should really be in xmux, but xmux will run "$HOME/.xmux.conf" when creating (tmux -f $HOME/.xmux.conf) if it exists. After that it will ask tmux to source "$HOME/.xmux.post".

In my "$HOME/.xmux.conf" file I have one line source ~/.tmux.conf.

In my "$HOME/.xmux.post" file I also have one line, which is set -g status off.