mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-26 22:27:42 +08:00

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 #11105