Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


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"




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: