Closed Mitezuss closed 1 month ago
Are you looking for the info in the "Persistent History" box at Feature Highlights in the documentation?
Are you looking for the info in the "Persistent History" box at Feature Highlights in the documentation?
Thank, it was:
PgUp and PgDn cycle through history entries matching the typed prefix.
And:
"\e[A": history-search-backward # Up (replaces `previous-history`)
"\e[B": history-search-forward # Down (replaces `next-history`)
"\e[5~": clink-popup-history # PgUp (replaces `history-search-backward`)
"\e[6~": # PgDn (cleared because I redefined PgUp)
Yes, the only reasons I haven't changed the default bindings for Up, Down, and PgUp are these:
windows
, but those are such core to the shell experience that I'm worried about creating confusion if Up/Down "mysteriously" behave differently for different users, making it difficult to share steps or communicate about steps for various things.I have strong personal preferences about how keyboard bindings "Should" work, but I try not to impose my preferences on others if bash/CMD already have strong precedent for something.
Which is why I shared a stripped-down version of my own key bindings (which I've gotten a lot of positive feedback about).
I've updated the Saved Command History documentation to clarify some things and include a table of key bindings for navigating the history.
while write, i get some suggestion, but wanna another (from the history): how? (any key o what ?)
regards