Provides basic WezTerm integration for Kakoune. Modeled after Kakoune's default windowing modules.
I have started using a different editor for a while and I have had very little desire to develop or maintain this plugin ever since. I would like to thank everyone that used this and I am very glad that people other than I have found my plugin to be useful.
With plug.kak, add the following to your kakrc:
plug Anomalocaridid/wezterm.kak %{
wezterm-integration-enable
}
Otherwise, add it to your autoload folder or source it manually, making sure to add wezterm-integration-enable
to your kakrc.
Currently, only splitting the window into panes, and opening a command in a new tab or window are supported. I was unable to find a way to use WezTerm's command-line interface to focus a given client or send text to a REPL. Since WezTerm is fairly new, that functionality may not even be currently supported yet.
wezterm-integration-enable
- sets the other commands' aliases when running on WezTermwezterm-integration-disable
- removes WezTerm integration hookswezterm-terminal-vertical
- splits the current window vertically and runs a given program; aliased toterminal
by defaultwezterm-terminal-horizontal
- splits the current window horizontally and runs a given programwezterm-terminal-window
- opens a new instance of WezTerm and runs the given command in it; aliased toterminal-window
wezterm-terminal-tab
- opens a new tab and runs the given program in it; aliased toterminal-tab
wezterm_terminal_default
- sets theterminal
alias's default value; set towezterm-terminal-vertical
by default
wezterm
- used to set the terminal alias on the flyv
- sets it towezterm-terminal-vertical
h
- sets it towezterm-terminal-horizontal
w
- sets it towezterm-terminal-window
t
- sets it towezterm-terminal-tab
- Add the command
wezterm-focus
that focuses a given client and alias it tofocus
inwezterm-integration-enable
- Add REPL functionality.