mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 23:34:12 +03:00
7061001728
This makes it possible to change command completion in hooks and paves the way to more flexibility in how custom commands can be completed
10 lines
328 B
Plaintext
10 lines
328 B
Plaintext
define-command new -params .. -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' \
|
|
%{
|
|
terminal kak -c %val{session} -e "%arg{@}"
|
|
}
|
|
|
|
complete-command new command
|