Hacker News new | ask | show | jobs
by johan914 542 days ago
The default macOS terminal app has CMD UP/DOWN to move to previous prompts. This is one of my pet peeves about terminal apps, they seem to lack this command?
3 comments

Ghostty supports it (like many other terminals) - it is called shell integration and it is supposed to be enabled by default, just like in Terminal.app.
It works for me with cmd+shift+up/down. I had it set up with the iterm2 shell integration and it just worked.
Just for reference, it looks like it's also bound to cmd + up/down (without shift). Documented as "jump_to_prompt" here: https://ghostty.org/docs/config/keybind/reference#jump_to_pr...
Not even cmd up/down, just hit up/down key, no cmd needed
There's a difference between moving the window and inserting text.
Oh i thought you meant "go through previously-entered commands"