Files
KiTTY/docs/pages/Shortcuts.md
T
2020-09-26 22:13:26 +02:00

1.8 KiB

## Shortcuts for pre-defined command

A new registry key [HKEY_CURRENT_USER\Software\9bis.com\KiTTY\Commands] was created in the KiTTY binary tree of the Windows registry.

regedit_shortcuts

It is designed to define a new menu: User command.

menu_shortcuts

To create this new menu, download and run this example file. To reach this new menu press on CTRL and click on the right mouse button from any place within a KiTTY window. Then select menu "User Command".

In the menu you can add as many commands as you want. Shortcuts (Ctrl+Shift+A ...), only available in regitry mode, are set up in the order of creation.

You can disable the shortcuts option, if it interferes with other software (for example if you run Midnight Commander in a KiTTY window). You just have to add these two lines in the kitty.ini file:

[KiTTY]
shortcuts=no

From KiTTY 0.60.56 two new shortcuts levels were added to the global level described above. It is possible to create

  • Shortcuts for each saved session by creating the registry key [HKEY_CURRENT_USER\Software\9bis.com\KiTTY\Sessions\''SessionName''\Commands] where ''SessionName'' is the name of the affected session
  • Shortcuts for each Sessions filter by creating the registry key [HKEY_CURRENT_USER\Software\9bis.com\KiTTY\Folders\''FolderName''\Commands]