diff options
| -rw-r--r-- | KEYBINDS.md | 1 | ||||
| -rw-r--r-- | dot_config/ghostty/config | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/KEYBINDS.md b/KEYBINDS.md index 99ae335..b269db5 100644 --- a/KEYBINDS.md +++ b/KEYBINDS.md @@ -267,6 +267,7 @@ Emacs mode (`bindkey -e`) is the base. | `Alt-d` | Scroll page down | | `Alt-g` | Scroll to top | | `Alt-Shift-g` | Scroll to bottom | +| `Ctrl-Alt-Up` / `Ctrl-Alt-Down` | Jump to previous / next shell prompt (OSC 133) | ## Yazi diff --git a/dot_config/ghostty/config b/dot_config/ghostty/config index 18bb644..b9ca9ad 100644 --- a/dot_config/ghostty/config +++ b/dot_config/ghostty/config @@ -35,3 +35,7 @@ keybind = alt+u=scroll_page_up keybind = alt+d=scroll_page_down keybind = alt+g=scroll_to_top keybind = alt+shift+g=scroll_to_bottom + +# Jump between shell prompts (requires OSC 133, emitted by ghostty's zsh integration) +keybind = ctrl+alt+up=jump_to_prompt:-1 +keybind = ctrl+alt+down=jump_to_prompt:1 |
