mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 16:15:38 +03:00
c0dccdd90d
Closes #2783
13 lines
427 B
Plaintext
13 lines
427 B
Plaintext
define-command new -params .. -command-completion -docstring '
|
|
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"
|
|
}
|
|
}
|
|
|