Fix history navigation in vi_insert mode
This commit is contained in:
parent
3bb1162cac
commit
a3533bc904
@ -1327,7 +1327,7 @@ class Reline::LineEditor
|
||||
end
|
||||
end
|
||||
@line = '' unless @line
|
||||
if @config.editing_mode_is?(:emacs)
|
||||
if @config.editing_mode_is?(:emacs, :vi_insert)
|
||||
@cursor_max = @cursor = calculate_width(@line)
|
||||
@byte_pointer = @line.bytesize
|
||||
elsif @config.editing_mode_is?(:vi_command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user