From 9190fa9b5f4a3f2f7b308d478696d9f937bf9b37 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 20 Jul 2022 08:32:03 +0200 Subject: [PATCH] rc repl: complete tmux-repl with shell commands, not Kakoune commands --- rc/windowing/repl/tmux.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/windowing/repl/tmux.kak b/rc/windowing/repl/tmux.kak index 037799a5..3238fbe7 100644 --- a/rc/windowing/repl/tmux.kak +++ b/rc/windowing/repl/tmux.kak @@ -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