95 |
|
|
96 |
\def\ncolumns{\the\columnsperpage} |
\def\ncolumns{\the\columnsperpage} |
97 |
|
|
98 |
\message{[\ncolumns\space |
\message{[\ncolumns\space |
99 |
column\if 1\ncolumns\else s\fi\space per page]} |
column\if 1\ncolumns\else s\fi\space per page]} |
100 |
|
|
101 |
\def\scaledmag#1{ scaled \magstep #1} |
\def\scaledmag#1{ scaled \magstep #1} |
180 |
\def\bye{\par\vfill\supereject |
\def\bye{\par\vfill\supereject |
181 |
\if a\abc \else\null\vfill\eject\fi |
\if a\abc \else\null\vfill\eject\fi |
182 |
\if a\abc \else\null\vfill\eject\fi |
\if a\abc \else\null\vfill\eject\fi |
183 |
\end} |
\end} |
184 |
\fi |
\fi |
185 |
|
|
186 |
% we won't be using math mode much, so redefine some of the characters |
% we won't be using math mode much, so redefine some of the characters |
279 |
|
|
280 |
\section{Viper States} |
\section{Viper States} |
281 |
|
|
282 |
Viper has four states: {\it emacs state}, {\it vi state}, {\it insert state}, |
Viper has four states: {\it emacs state}, {\it vi state}, {\it insert state}, |
283 |
{\it replace state}. |
{\it replace state}. |
284 |
Mode line tells you which state you are in. |
Mode line tells you which state you are in. |
285 |
In emacs state you can do all the normal GNU Emacs editing. |
In emacs state you can do all the normal GNU Emacs editing. |
668 |
|
|
669 |
\section{Ex Commands} |
\section{Ex Commands} |
670 |
|
|
671 |
Avoid Ex text manipulation commands except substitute. |
Avoid Ex text manipulation commands except substitute. |
672 |
There are better VI equivalents |
There are better VI equivalents |
673 |
for all of them. Also note that all Ex commands expand \% to |
for all of them. Also note that all Ex commands expand \% to |
674 |
current file name. To include a \% in the command, escape it with a $\backslash$. |
current file name. To include a \% in the command, escape it with a $\backslash$. |