diff options
Diffstat (limited to 'autoload/windowing/new-client.kak')
-rw-r--r-- | autoload/windowing/new-client.kak | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/autoload/windowing/new-client.kak b/autoload/windowing/new-client.kak new file mode 100644 index 0000000..f852b39 --- /dev/null +++ b/autoload/windowing/new-client.kak @@ -0,0 +1,9 @@ +define-command new -params .. -docstring ' +new [<commands>]: create a new Kakoune client +The ''terminal'' command is 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 -menu new command |