Starting with vile 7.4, the
colon command line is really a minibuffer.
You can use it to recall lines from the [History]
buffer and edit them.
You use the
and
keys to scroll backward and forward
in the history, and
and
to move around within the
line. Your current delete character (usually BACKSPACE)
can be used to delete characters. Any other characters you type
will be inserted at the current cursor postion.
An interesting feature is that vile will use the
history to show you previous data that corresponds to the command
you're entering. For instance, after typing :set
followed by a space,
vile will prompt you with Global value:.
At that point, you can use
to see previous global
variables that you've set, should you wish to change one of them.
The ex
command line provides completion of various sorts.
As you type the name of a command, you can hit
the TAB key at any point.
vile will fill out the rest of the command name
as much as possible. If you type a TAB a second
time, vile will create a new window showing
you all the possible completions.
Completion applies to built-in
and user-defined vile commands, tags,
filenames, modes (described later in this chapter), variables,
and to the terminal characters (the character settings such
as backspace, suspend, and so on, derived from your
stty settings).
As a side point, this leads to an interesting phenomenon.
In vi-style editors, commands may have long names,
but they tend to be unique in the first few characters,
since abbreviations are accepted.
In emacs-style editors, command names often are
not unique in the first several characters, but command completion
still allows you to get away with less typing.