kakoune/rc/windowing/new-client.kak

13 lines
427 B
Plaintext
Raw Normal View History

define-command new -params .. -command-completion -docstring '
2021-06-13 04:12:03 +02:00
new [<commands>]: create a new Kakoune client
The ''terminal'' alias is being used to determine the user''s preferred terminal emulator
The optional arguments are passed as commands to the new client' \
%{
try %{
terminal kak -c %val{session} -e "%arg{@}"
} catch %{
fail "The 'terminal' alias must be defined to use this command"
}
}