Version 17 (modified by judah, 8 years ago)


A collection of vi commands supported by libreadline that aren't yet supported by haskeline (see #84, #87, #88):

(This space left blank since all of the below commands are now implemented. If you find more, please open a new ticket.)

Some of these can be configured using the bind command in the .haskeline file in your home directory. 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.

Already done in HEAD

The following commands were missing in, but are now in the HEAD.

I'm keeping around this list so we can update the user docs once 0.6.2 is released.

jprevious line in history
knext line in history
eend of word
Eend of bigword
Xdelete previous character
^go to first non-whitespace character in line
Ddelete rest of line
Cchange rest of line (delete, then enter insert mode)
ppaste (pos+1)
ffind character
Ffind character (backward)
tfind character-1
Tfind character-1 (backward)
%jump to matching brace: () {} []
.repeat previous command
/ reverse search through history (with n to continue to next while searching, and shift-N to reverse search direction)
? forward search through history (using n/N as above)
~ toggle case
^W erase previous word
^Denter, when line is not empty