Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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;
share|improve this question
Does anyone know what vi-move is? – Oscar Korz Nov 1 '11 at 15:14
up vote 2 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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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