rc repl: complete tmux-repl with shell commands, not Kakoune commands

This commit is contained in:
Johannes Altmanninger 2022-07-20 08:32:03 +02:00
parent 559af669c7
commit 9190fa9b5f

View File

@ -26,17 +26,17 @@ define-command -hidden -params 1.. tmux-repl-impl %{
define-command tmux-repl-vertical -params 0.. -docstring "Create a new vertical pane for repl interaction" %{
tmux-repl-impl 'split-window -v' %arg{@}
}
complete-command tmux-repl-vertical command
complete-command tmux-repl-vertical shell
define-command tmux-repl-horizontal -params 0.. -docstring "Create a new horizontal pane for repl interaction" %{
tmux-repl-impl 'split-window -h' %arg{@}
}
complete-command tmux-repl-horizontal command
complete-command tmux-repl-horizontal shell
define-command tmux-repl-window -params 0.. -docstring "Create a new window for repl interaction" %{
tmux-repl-impl 'new-window' %arg{@}
}
complete-command tmux-repl-window command
complete-command tmux-repl-window shell
define-command -params 0..1 tmux-repl-set-pane -docstring %{
tmux-repl-set-pane [pane number]: Set an existing tmux pane for repl interaction