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
Judah Jacobson edited this page Mar 6, 2016
·
3 revisions
Haskeline supports "vi-mode" input; see KeyBindings for the full list of supported commands.
Some of those commands can be configured using the bind command in the .haskeline file in your home directory (as described in CustomKeyBindings). For example, the following will put you in vi mode, and let you use the j and k keys to scroll down and up in your history:
editMode: Vi
bind: k up
bind: j down
However, the 'k' is translated into 'up' during both command and insert mode, so the above may not do what you want is totally useless.