Difficulty using Tag Files
If you are having difficulty making "tags" work, ensure the
format of the "tags" file is correct.
Each line of the file should have the format:
<<label>> <<filename>> <<location>>
||is the expression that you want to navigate to, for example, a function
||is the name of the file where the function is located.
||is either a line number, or, a slash-delimited regular expression search
pattern which represents how to find the right location in the file.
Note that each field in the line above is separated from the next by a single tab
character i.e. there is a single tab after <<label>> and also after
Inserting a Newline into Replacement Strings
Sometimes you may require to insert a Newline into a replacement string.
This can be done by type <Ctrl>+V followed by <Ctrl>+M. On the display this
appears as ^M. So for example, if you have a line "abcdef" which you require to
split after the "c", you can type:
Inserting a Newline into Macro Definitions
A Newline can be inserted into a macro definition in exactly that same way
as into a replacement string - see previous item. So for example, if you wish to define
function key 6 to write the contents of the file, you can type:
:map #6 :w<Ctrl>V<Ctrl>M
If you wish to include such definitions in the Lemmy.rc file, edit the Lemmy.rc file using
Lemmy and create the defintion with exactly the same key strokes.
Defining Function Keys
Function keys 2, 5, 6, 7, 8 and 9 can be defined by typing:
where n is the function key number and <Definition> is the set of key strokes that
are to be represented by the function key.
Similarly, the function key <Shift>+Fn, where n is in the same range as above, can
be defined by:
Finally, the function key <Ctrl>+Fn, where n is in the same range as above, can be