Fix previous history in vi_insert mode
This commit is contained in:
parent
a3533bc904
commit
f9332ad833
@ -1280,7 +1280,7 @@ class Reline::LineEditor
|
||||
@line = Reline::HISTORY[@history_pointer]
|
||||
end
|
||||
end
|
||||
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