rc repl: Normalise REPL commands

It's unclear what the `send-text` alias does at first glance,
so prefixing it with "repl-" both fixes that and helps make it
discoverable via the command prompt's fuzzy matcher.

The `repl` alias also seems too generic a name, the "-new" suffix
should hopefully give a hint that it creates a new window.
This commit is contained in:
Frank LENORMAND 2020-09-01 13:30:34 +03:00
parent 6c85c0cb29
commit 87f9be6723
4 changed files with 9 additions and 6 deletions

View File

@ -5,6 +5,9 @@ released versions.
== Development version == Development version
* The `repl` and `send-text` aliases have been renamed respectively into
`repl-new` and `repl-send-text`.
* Daemon mode (`-d` switch) does not fork anymore. * Daemon mode (`-d` switch) does not fork anymore.
== Kakoune 2020.08.04 == Kakoune 2020.08.04

View File

@ -38,7 +38,7 @@ define-command -hidden -params 0..1 \
} }
} }
alias global repl kitty-repl alias global repl-new kitty-repl
alias global send-text kitty-send-text alias global repl-send-text kitty-send-text
} }

View File

@ -49,7 +49,7 @@ define-command -hidden tmux-send-text -params 0..1 -docstring %{
} }
} }
alias global repl tmux-repl-horizontal alias global repl-new tmux-repl-horizontal
alias global send-text tmux-send-text alias global repl-send-text tmux-send-text
} }

View File

@ -31,7 +31,7 @@ define-command x11-send-text -docstring "send the selected text to the repl wind
} }
} }
alias global repl x11-repl alias global repl-new x11-repl
alias global send-text x11-send-text alias global repl-send-text x11-send-text
} }