Skip to content
Discussion options

You must be logged in to vote

This should be bound in your shell (not a Zsh guru so can't help here, but I'm certain the internet and documentation would get you there), but if you really want to do it in Ghostty,

keybind = ctrl+left=esc:b
keybind = ctrl+right=esc:f
keybind = ctrl+home=esc:<
keybind = ctrl+end=esc:>

These will only work if your shell uses Emacs (default) input, and not if you change it to Vi mode.
Some shells (e.g. Fish) bind some of those by default too.

ctrl + home : move cursor to the top (scroll_to_top?)
ctrl + end : move cursor to bottom (scroll_to_bottom?)

scroll_to_top and scroll_to_bottom scroll the scrollback up and down, not move the cursor.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mikeymop
Comment options

Answer selected by trag1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants