vile’s programming assistance capabilities are discussed in this section.
vile uses two straightforward vi mode commands to manage program development, shown in Table 18-7.
Run command, saving the
output in a buffer named
Find the next error. vile parses the output and moves to the location of each successive error.
vile understands the
XXX and Leaving
XXX messages that
GNU make generates, allowing it
to find the correct file, even if it’s in a different directory.
The error messages are parsed using regular expressions in the
Expressions]. vile automatically creates this buffer,
and then it uses the buffer when you use
^X. You can add expressions to it as needed, and it has an
extended syntax that allows you to specify where filenames, line
numbers, columns, and so on appear in the error messages. Full
details are provided in the online help, but you probably won’t need
to make any changes, as it works pretty well “out of the
vile’s error finder also compensates for changes in the file, keeping track of additions and deletions as you progress to each error.
The error finder applies to the most recent buffer created by
reading from a shell command. For example,
^X!command produces a buffer named
:e !command produces a buffer named
[!command]. The error finder will be set appropriately. ...