comparison etc/viperCard.tex @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 9ee227acff29
children c7528f8e288d
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
80 Permission is granted to make and distribute copies of 80 Permission is granted to make and distribute copies of
81 this card provided the copyright notice and this permission notice 81 this card provided the copyright notice and this permission notice
82 are preserved on all copies. 82 are preserved on all copies.
83 83
84 For copies of the GNU Emacs manual, write to the Free Software 84 For copies of the GNU Emacs manual, write to the Free Software
85 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 85 Foundation, Inc., 1000 Massachusetts Ave, Cambridge MA 02138.
86 86
87 \endgroup} 87 \endgroup}
88 88
89 % make \bye not \outer so that the \def\bye in the \else clause below 89 % make \bye not \outer so that the \def\bye in the \else clause below
90 % can be scanned without complaint. 90 % can be scanned without complaint.
371 \key{delete other windows}{C-x 1} 371 \key{delete other windows}{C-x 1}
372 \key{split current window into two windows}{C-x 2} 372 \key{split current window into two windows}{C-x 2}
373 \key{{\bf switch} to a buffer in the current window}{C-x {\sl buffer}} 373 \key{{\bf switch} to a buffer in the current window}{C-x {\sl buffer}}
374 \metax{{\bf switch} to a buffer in another window}{:n, :b, {\rm or} C-x 4 {\sl buf}} 374 \metax{{\bf switch} to a buffer in another window}{:n, :b, {\rm or} C-x 4 {\sl buf}}
375 \key{{\bf kill} a buffer}{:q! {\rm or} C-x k} 375 \key{{\bf kill} a buffer}{:q! {\rm or} C-x k}
376 \key{list existing {\bf buffers}}{:args {\rm or} C-x b} 376 \key{list exisiting {\bf buffers}}{:args {\rm or} C-x b}
377 377
378 \section{Files} 378 \section{Files}
379 379
380 \metax{{\bf visit} file in the current window}{v {\sl file} {\rm or} :e {\sl file}} 380 \metax{{\bf visit} file in the current window}{v {\sl file} {\rm or} :e {\sl file}}
381 \key{{\bf visit} file in another window}{V {\sl file}} 381 \key{{\bf visit} file in another window}{V {\sl file}}
662 662
663 Avoid Ex text manipulation commands except substitute. 663 Avoid Ex text manipulation commands except substitute.
664 There are better VI equivalents 664 There are better VI equivalents
665 for all of them. Also note that all Ex commands expand \% to 665 for all of them. Also note that all Ex commands expand \% to
666 current file name. To include a \% in the command, escape it with a $\backslash$. 666 current file name. To include a \% in the command, escape it with a $\backslash$.
667 Similarly, \# is replaced by previous file. For Viper, this is the 667 Similiarly, \# is replaced by previous file. For Viper, this is the
668 first file in the {\sl :args} listing for that buffer. This defaults 668 first file in the {\sl :args} listing for that buffer. This defaults
669 to the previous file in the VI sense if you have one window. 669 to the previous file in the VI sense if you have one window.
670 Ex commands can be made to have history. See the manual for details. 670 Ex commands can be made to have history. See the manual for details.
671 671
672 \subsection{Ex Text Commands} 672 \subsection{Ex Text Commands}