mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 05:12:50 +08:00
Fix Vi replace mode regression not being able to append to command line
Regressed in d51f66964
(Vi mode: avoid placing cursor beyond last
character, 2024-02-14).
This commit is contained in:
parent
c2cde317f2
commit
dea7841611
|
@ -354,7 +354,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
|
|||
set -g fish_cursor_selection_mode inclusive
|
||||
function __fish_vi_key_bindings_on_mode_change --on-variable fish_bind_mode
|
||||
switch $fish_bind_mode
|
||||
case insert
|
||||
case insert replace
|
||||
set -g fish_cursor_end_mode exclusive
|
||||
case '*'
|
||||
set -g fish_cursor_end_mode inclusive
|
||||
|
|
Loading…
Reference in New Issue
Block a user