peterh/liner

Liner should respect .inputrc semantics

danielpops opened this issue · 0 comments

If I have a .inputrc file active (e.g. set editing-mode vi to get vim bindings), liner should respect bash's .inputrc settings, similar to how python, mysql, etc. other shells behave.

Actual Behavior

vi bindings are not supported

Steps to Reproduce the Problem

Create a .inputrc in your home directory with the following contents:
set editing-mode vi
exec bash (or equivalent) to activate. Observe vi mode ability to e.g. switch between normal vs insert mode is respected
Use the liner. Observe vi mode ability to e.g. switch between normal vs insert mode is not respected

Additional Info

this occurs in bash on ubuntu xenial and osx mojave, with Terminal.app and iTerm2.app