PREV States in Viper UP Overview NEXT Multiple Files in Viper

1.4: The Minibuffer

The Minibuffer is where commands are entered in. Editing can be done by commands from Insert state, namely:



C-w Delete Word
C-u Erase line
C-v Quote the following character
RET Execute command
C-g and C-] Emacs quit and abort keys. These may be necessary. See Vi State, for an explanation.
M-p and M-n These keys are bound to functions that peruse minibuffer history. The precise history to be perused depends on the context. It may be the history of search strings, Ex commands, file names, etc.

Most of the Emacs keys are functional in the Minibuffer. While in the Minibuffer, Viper tries to make editing resemble Vi's behavior when the latter is waiting for the user to type an Ex command. In particular, you can use the regular Vi commands to edit the Minibuffer. You can switch between the Vi state and Insert state at will, and even use the replace mode. Initially, the Minibuffer comes up in Insert state.

Some users prefer plain Emacs bindings in the Minibuffer. To this end, set viper-vi-style-in-minibuffer to nil in `.viper'. See Customization, to learn how to do this.

When the Minibuffer changes Viper states, you will notice that the appearance of the text there changes as well. This is useful because the Minibuffer has no mode line to tell which Vi state it is in. The appearance of the text in the Minibuffer can be changed. See Viper Specials, for more details.

PREV States in Viper UP Overview NEXT Multiple Files in Viper