October 2005
Intermediate to advanced
908 pages
46h 42m
English
In an ex script file,
comments start with the double-quote character. The following lines
of code are an example of a customized .exrc file:
set nowrapscan " Searches don't wrap at end of file set wrapmargin=7 " Wrap text at 7 columns from right margin set sections=SeAhBhChDh nomesg " Set troff macros, disallow message map q :w^M:n^M " Alias to move to next file map v dwElp " Move a word ab ORA O'Reilly Media, Inc. " Input shortcut
The q alias isn’t needed
for vim, which has the :wn command. The v alias would hide the vim command v, which enters character-at-a-time
visual mode operation.
Read now
Unlock full access