Replies: 1 comment
-
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.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using ghostty, with zsh, and oh-my-posh, on gnome.
I noticed that when pressing
ctrl
+<--
(left arrow), the terminal inserts a control sequence instead of moving the cursor left by one word boundary.I have looked through the action sets available but the only cursor related entry I could find was
cursor_key
which I dont think is applicable.Overall I am wanting to setup traditional cursor movement shortcuts (similar to "Natural Text Editing" in iTerm2. Or that you would have available in non-vim, gui editors.
eg:
Beta Was this translation helpful? Give feedback.
All reactions