aboutsummaryrefslogtreecommitdiff
path: root/dot_config/kak/autoload/rc/windowing/new-client.kak
diff options
context:
space:
mode:
authortwells46 <173561638+twells46@users.noreply.github.com>2025-12-31 13:28:05 -0600
committertwells46 <173561638+twells46@users.noreply.github.com>2025-12-31 13:28:05 -0600
commit2140ab51deed88e90eafebf9520fa5f9995dc7c9 (patch)
tree03cf1dcd2900495c1efb79aaa85f3254ecd5fb87 /dot_config/kak/autoload/rc/windowing/new-client.kak
parentff8f50638e4b17a9d7cc88d2f0d9560b7effce39 (diff)
Migrate from stow
Diffstat (limited to 'dot_config/kak/autoload/rc/windowing/new-client.kak')
-rw-r--r--dot_config/kak/autoload/rc/windowing/new-client.kak9
1 files changed, 9 insertions, 0 deletions
diff --git a/dot_config/kak/autoload/rc/windowing/new-client.kak b/dot_config/kak/autoload/rc/windowing/new-client.kak
new file mode 100644
index 0000000..f852b39
--- /dev/null
+++ b/dot_config/kak/autoload/rc/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