mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
8a033b9f3d
Add the input function undo which is bound to `\c_` (control + / on some terminals). Redoing the most recent chain of undos is supported, redo is bound to `\e/` for now. Closes #1367. This approach should not have the issues discussed in #5897. Every single modification to the commandline can be undone individually, except for adjacent single-character inserts, which are coalesced, so they can be reverted with a single undo. Coalescing is not done for space characters, so each word can be undone separately. When moving between history search entries, only the current history search entry is reachable via the undo history. This allows to go back to the original search string with a single undo, or by pressing the escape key. Similarly, when moving between pager entries, only the most recent selection in the pager can be undone. |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish | ||
lynx.lss |