fish-shell/share
Johannes Altmanninger d51f669647 Vi mode: avoid placing cursor beyond last character
Today fish_cursor_selection_mode controls whether selection mode includes
the cursor. Since it's by default only used for Vi mode, perhaps use it to
also decide whether it should be allowed to select one-past the last character.

Not allowing to select to select one-past the last character is much nicer
in Vi mode.  Unfortunately Vi mode sometimes needs to temporarily select
past end (using forward-single-char and such), so reset fish_cursor_selection_mode
for the duration of the binding.

Also fix other things like cursor placement after yank/yank-pop.

Closes #10286
Closes #3299
2024-03-23 14:12:21 +01:00
..
completions rustc: Protect against lines starting with - 2024-03-19 16:49:46 +01:00
functions Vi mode: avoid placing cursor beyond last character 2024-03-23 14:12:21 +01:00
groff
tools Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00
__fish_build_paths.fish.in
config.fish Reformat share/**.fish with newlines collapsed 2024-02-27 16:25:01 +01:00