mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 05:29:43 +08:00
Don't reset the fish_cursor_selection_mode in fish_default_key_bindings
As of the parent commit, __fish_vi_key_bindings_remove_handlers should be working properly now, so this is no longer necessary That function also cleans up other stuff like fish_cursor_end_mode, that fish_default_key_bindings doesn't know anything about. Also this fixes a spurious exit status of 4 in some scenarios.
This commit is contained in:
parent
b05e071238
commit
5760a1afcf
|
@ -88,6 +88,4 @@ function fish_default_key_bindings -d "emacs-like key binds"
|
|||
# the following to tell a console to paste:
|
||||
$legacy_bind --preset $argv \e\x20ep fish_clipboard_paste
|
||||
end
|
||||
|
||||
set -e -g fish_cursor_selection_mode
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user