From aeddf067d0f64b81a98ef0c6951652611cad59c2 Mon Sep 17 00:00:00 2001 From: Hao Deng Date: Thu, 31 May 2018 09:35:28 -0400 Subject: [PATCH] Update tmux-repl.kak --- rc/extra/tmux-repl.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/extra/tmux-repl.kak b/rc/extra/tmux-repl.kak index b890374e..491f8930 100644 --- a/rc/extra/tmux-repl.kak +++ b/rc/extra/tmux-repl.kak @@ -50,8 +50,8 @@ define-command tmux-repl-window -params 0..1 -command-completion -docstring "Cre tmux-repl-impl 'new-window' %arg{@} } -define-command -hidden tmux-send-text -params 0..1 -docstring "Send the selected text to the repl pane if no parameter. - Otherwise send parameter with new line" %{ +define-command -hidden tmux-send-text -params 0..1 -docstring "tmux-send-text [text]: Send text(append new line) to the REPL pane. + If no text is passed, then the selection is used" %{ nop %sh{ if [ $# -eq 0 ]; then tmux set-buffer -b kak_selection "${kak_selection}"