Next: 13.4 Saving Learned Macros
Up: 13. Keyboard Macros
Previous: 13.2 Invoking Macros
Subsections
In addition to the macros you can set, Ved also defines a number of macros for you:
This macro prints the name of the file (the same as what is displayed at the bottom of the screen) at the cursor position.
This macro prints the extension of filename at the cursor position. The extension is the part of the filename after the last ``.''.
This macro prints the base of filename at the cursor position. The base is the part of the filename before last ``.''.
This macro prints the contents of the number register, and increments the register. This is the same register as used by the autonumber feature (Section 18.2.5).
This macro prints the current date or time at the cursor position. By default, this register is set to display the time in the format ``Sunday March 14, 1999''. This can be changed in the RC file (see Section 19.5
Just like the Time1 macro, above, but, by default, prints the current time or date in then the format ``20:55:44''. This can be changed in the RC file (see Section 19.5
Next: 13.4 Saving Learned Macros
Up: 13. Keyboard Macros
Previous: 13.2 Invoking Macros
2004-05-02