Version 14 (modified by jdanbrown, 5 years ago)

Added ~

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

~ toggle case
^W (insert mode only) erase previous word
^Denter, when line is not empty

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 0.6.1.6, 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)
Ppaste
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)