fish-shell/share
Johannes Altmanninger 8a033b9f3d Add undo
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.
2020-02-07 17:15:17 +01:00
..
completions completions/apt: Add support for filename completions 2020-02-06 02:17:38 +01:00
functions Add undo 2020-02-07 17:15:17 +01:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools prompts: fix pipestatus for jobs prefixed with "not" 2020-02-06 01:43:17 +01:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish config.fish: drop PATH modifications on Solaris-derived systems 2020-02-07 20:43:15 +08:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00