The readline(3) manpage lists these four (vi, vi-move, vi-command, vi-insert) as possible options for the keymap setting. I have tried setting these different options and they seem to have no effect beyond what set editing-mode vi does.

Probably the most succinct way to answer this question is to give an example of how changing keymap makes a difference.

Quote from the manpage:

keymap (emacs)
          Set the current readline keymap.  The set of legal keymap  names
          is  emacs,  emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move,
          vi-command, and vi-insert.   vi  is  equivalent  to  vi-command;
          <<snip>>
link|improve this question
Does anyone know what vi-move is? – Oscar Korz Nov 1 '11 at 15:14
feedback

1 Answer

up vote 1 down vote accepted

They are the different keymaps inside vi mode. For example, my .inputrc sets keymap to bind keys in different modes. Excerpt:

# insert mode bindings
set keymap vi-insert
"\C-p": previous-history
"\C-n": next-history

# command mode bindings
set keymap vi-command
"|": beginning-of-line
"_": vi-first-print
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.