mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user