You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kittyutils.kak 537B

123456789101112131415161718
  1. provide-module kittyutils %{
  2. require-module kitty
  3. define-command new-tab -params .. -command-completion -docstring '
  4. new-tab [<commands>]: create a new kakoune client in new tab
  5. The ''terminal-tab'' alias is being used to determine the user''s preferred terminal emulator
  6. The optional arguments are passed as commands to the new client' %{
  7. try %{
  8. terminal-tab kak -c %val{session} -e "%arg{@}"
  9. } catch %{
  10. fail "The 'terminal-tab' alias must be defined to use this command"
  11. }
  12. }
  13. }
  14. require-module kittyutils