2022-02-22 10:14:47 +01:00
|
|
|
define-command new -params .. -docstring '
|
2021-06-13 04:12:03 +02:00
|
|
|
new [<commands>]: create a new Kakoune client
|
2018-12-09 10:03:30 +01:00
|
|
|
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' \
|
|
|
|
%{
|
2022-01-24 11:41:43 +01:00
|
|
|
terminal kak -c %val{session} -e "%arg{@}"
|
2018-12-09 10:03:30 +01:00
|
|
|
}
|
|
|
|
|
2022-07-19 15:56:05 +02:00
|
|
|
complete-command -menu new command
|