You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When set editing-mode vi is configured in .inputrc, switching to emacs mode using emacs-editing-mode causes the input line to revert to vi mode after it's committed.
Expected Behavior
The input line should remain in emacs mode even after committing.
Steps to Reproduce
Add the following to your .inputrc:
set editing-mode vi
"\C-e": emacs-editing-mode
# for debug
set show-mode-in-prompt on
set vi-cmd-mode-string (cmd)
set vi-ins-mode-string (ins)
Run INPUTRC=.inputrc irb
(ins)irb(main):001>
Press C-e (to change emacs mode)
@irb(main):001>
Press Enter
(ins)irb(main):002>
The text was updated successfully, but these errors were encountered:
When
set editing-mode vi
is configured in.inputrc
, switching to emacs mode usingemacs-editing-mode
causes the input line to revert to vi mode after it's committed.Expected Behavior
The input line should remain in emacs mode even after committing.
Steps to Reproduce
Add the following to your .inputrc:
INPUTRC=.inputrc irb
C-e
(to change emacs mode)Enter
The text was updated successfully, but these errors were encountered: