Mercurial > emacs
comparison etc/viperCard.tex @ 49600:23a1cea22d13
Trailing whitespace deleted.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 Feb 2003 14:56:31 +0000 |
parents | f3408a98d0f3 |
children | 695cf19ef79e d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
49599:5ade352e8d1c | 49600:23a1cea22d13 |
---|---|
93 \newbox\columna | 93 \newbox\columna |
94 \newbox\columnb | 94 \newbox\columnb |
95 | 95 |
96 \def\ncolumns{\the\columnsperpage} | 96 \def\ncolumns{\the\columnsperpage} |
97 | 97 |
98 \message{[\ncolumns\space | 98 \message{[\ncolumns\space |
99 column\if 1\ncolumns\else s\fi\space per page]} | 99 column\if 1\ncolumns\else s\fi\space per page]} |
100 | 100 |
101 \def\scaledmag#1{ scaled \magstep #1} | 101 \def\scaledmag#1{ scaled \magstep #1} |
102 | 102 |
103 % This multi-way format was designed by Stephen Gildea | 103 % This multi-way format was designed by Stephen Gildea |
178 \def\columnbox{\leftline{\pagebody}} | 178 \def\columnbox{\leftline{\pagebody}} |
179 | 179 |
180 \def\bye{\par\vfill\supereject | 180 \def\bye{\par\vfill\supereject |
181 \if a\abc \else\null\vfill\eject\fi | 181 \if a\abc \else\null\vfill\eject\fi |
182 \if a\abc \else\null\vfill\eject\fi | 182 \if a\abc \else\null\vfill\eject\fi |
183 \end} | 183 \end} |
184 \fi | 184 \fi |
185 | 185 |
186 % we won't be using math mode much, so redefine some of the characters | 186 % we won't be using math mode much, so redefine some of the characters |
187 % we might want to talk about | 187 % we might want to talk about |
188 \catcode`\^=12 | 188 \catcode`\^=12 |
277 | 277 |
278 in .emacs | 278 in .emacs |
279 | 279 |
280 \section{Viper States} | 280 \section{Viper States} |
281 | 281 |
282 Viper has four states: {\it emacs state}, {\it vi state}, {\it insert state}, | 282 Viper has four states: {\it emacs state}, {\it vi state}, {\it insert state}, |
283 {\it replace state}. | 283 {\it replace state}. |
284 Mode line tells you which state you are in. | 284 Mode line tells you which state you are in. |
285 In emacs state you can do all the normal GNU Emacs editing. | 285 In emacs state you can do all the normal GNU Emacs editing. |
286 This card explains only vi state and insert state (replace state is similar | 286 This card explains only vi state and insert state (replace state is similar |
287 to insert state). | 287 to insert state). |
666 | 666 |
667 moves 11 lines below current line to the end of buffer. | 667 moves 11 lines below current line to the end of buffer. |
668 | 668 |
669 \section{Ex Commands} | 669 \section{Ex Commands} |
670 | 670 |
671 Avoid Ex text manipulation commands except substitute. | 671 Avoid Ex text manipulation commands except substitute. |
672 There are better VI equivalents | 672 There are better VI equivalents |
673 for all of them. Also note that all Ex commands expand \% to | 673 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$. | 674 current file name. To include a \% in the command, escape it with a $\backslash$. |
675 Similarly, \# is replaced by previous file. For Viper, this is the | 675 Similarly, \# is replaced by previous file. For Viper, this is the |
676 first file in the {\sl :args} listing for that buffer. This defaults | 676 first file in the {\sl :args} listing for that buffer. This defaults |