Johannes Altmanninger 65ac71edcc Make alt-{b,f} move in directory history if commandline is empty
alt-{left,right} move in the directory history (like in browsers).
Arrow keys can be inconvenient to reach on some keyboards, so
let's alias this to alt-{b,f}, which already have similar behavior.
(historically the behavior was the same; we're considering changing
that back on some platforms).

This happens to fix alt-{left,right} in Terminal.app (where we had
a workaround for some cases), Ghostty, though that alone should not
be the reason for this change.

Cherry-picked from commit f4503af037cf596f6dc4c2b2e39df703e3fd6d07.

Closes 
2025-02-06 19:15:03 +01:00
..
2022-09-17 21:31:06 +08:00
2024-11-21 18:28:43 +01:00
2023-08-23 23:08:56 +02:00
2024-09-15 09:39:13 +02:00
2024-06-22 14:58:07 +02:00