1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-15 09:17:22 +03:00

tmux.kak: forward arguments without going though a %sh{}

This commit is contained in:
Maxime Coste 2015-12-02 00:53:34 +00:00
parent b2648053f9
commit 982270abf9

View File

@ -26,15 +26,15 @@ def -hidden -params 1.. tmux-new-impl %{
}
def tmux-new-vertical -params .. -command-completion -docstring "Create a new vertical pane in tmux" %{
%sh{ echo "tmux-new-impl 'split-window -v' $@" }
tmux-new-impl 'split-window -v' %arg{@}
}
def tmux-new-horizontal -params .. -command-completion -docstring "Create a new horizontal pane in tmux" %{
%sh{ echo "tmux-new-impl 'split-window -h' $@" }
tmux-new-impl 'split-window -h' %arg{@}
}
def tmux-new-window -params .. -command-completion -docstring "Create a new horizontal pane in tmux" %{
%sh{ echo "tmux-new-impl 'new-window' $@" }
tmux-new-impl 'new-window' %arg{@}
}
def -docstring "focus given client" \