feat(shortcuts): bind the help panel to kitty_mod+H
Use the standard kitty modifier instead of Ctrl+H, which many terminal programs use for backspace. The help panel now lists the binding as kitty_mod+h.
This commit is contained in:
6 files changed
+14
-13
No files matched your search
@@ -221,7 +221,7 @@ func shell_main(cmd *cli.Command, args []string) (int, error) {
|
||||
running_shell = true
|
||||
formatter = markup.New(true)
|
||||
fmt.Println("Welcome to the kitty shell!")
|
||||
fmt.Println("Use", formatter.Green("Ctrl+H"), "or", formatter.Green("help"), "for the keyboard shortcuts panel.")
|
||||
fmt.Println("Use", formatter.Green("Ctrl+Shift+H"), "or", formatter.Green("help"), "for the keyboard shortcuts panel.")
|
||||
fmt.Println("Use", formatter.Green("help <command>"), "for a command's help, or", formatter.Green("exit"), "to quit.")
|
||||
if atwid := os.Getenv("KITTY_SHELL_ACTIVE_WINDOW_ID"); atwid != "" {
|
||||
amsg := "Previously active window id: " + atwid
|
||||
|
||||
Reference in new issue
Block a user