Ticket #90 (new defect)
vi mode printable char bindings should not be bound in input mode
|Reported by:||cjs||Owned by:|
This ~/.haskelline file:
editMode: Vi bind: k up bind: j down
behaves in a rather unfortunate way for vi users. As well as binding h and j in command mode, it also binds them in input mode, meaning that one can no longer input a k or a j.
Ideally one would specify, for vi bindings, whether they were for command mode or input mode. However, this requires changing the format of the configuration file, possibly making it rather more complex.
My proposal is that, for the moment anyway, bind when used with printable characters should rebind keys for command mode only, not affecting their use in input mode.