6 |
@comment @setfilename viper.info |
@comment @setfilename viper.info |
7 |
@setfilename ../info/viper |
@setfilename ../info/viper |
8 |
|
|
9 |
|
@copying |
10 |
|
Copyright @copyright{} 1995, 1996, 1997, 2001, 2002 Free Software |
11 |
|
Foundation, Inc. |
12 |
|
|
13 |
|
@quotation |
14 |
|
Permission is granted to copy, distribute and/or modify this document |
15 |
|
under the terms of the GNU Free Documentation License, Version 1.1 or |
16 |
|
any later version published by the Free Software Foundation; with no |
17 |
|
Invariant Sections, with the Front-Cover texts being ``A GNU |
18 |
|
Manual'', and with the Back-Cover Texts as in (a) below. A copy of the |
19 |
|
license is included in the section entitled ``GNU Free Documentation |
20 |
|
License'' in the Emacs manual. |
21 |
|
|
22 |
|
(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify |
23 |
|
this GNU Manual, like GNU software. Copies published by the Free |
24 |
|
Software Foundation raise funds for GNU development.'' |
25 |
|
|
26 |
|
This document is part of a collection distributed under the GNU Free |
27 |
|
Documentation License. If you want to distribute this document |
28 |
|
separately from the collection, you can do so by adding a copy of the |
29 |
|
license to the document, as described in section 6 of the license. |
30 |
|
@end quotation |
31 |
|
@end copying |
32 |
|
|
33 |
@dircategory Emacs |
@dircategory Emacs |
34 |
@direntry |
@direntry |
35 |
* VIPER: (viper). The newest Emacs VI-emulation mode. |
* VIPER: (viper). The newest Emacs VI-emulation mode. |
37 |
or the VI PERil.) |
or the VI PERil.) |
38 |
@end direntry |
@end direntry |
39 |
|
|
|
@iftex |
|
40 |
@finalout |
@finalout |
|
@end iftex |
|
41 |
|
|
42 |
@titlepage |
@titlepage |
43 |
@title Viper Is a Package for Emacs Rebels |
@title Viper Is a Package for Emacs Rebels |
49 |
@author Masahiko Sato (VIP 3.5) |
@author Masahiko Sato (VIP 3.5) |
50 |
|
|
51 |
@page |
@page |
52 |
@vskip 0pt plus 1fill |
@vskip 0pt plus 1filll |
53 |
|
@insertcopying |
54 |
@end titlepage |
@end titlepage |
55 |
|
|
56 |
@unnumbered Distribution |
@ifnottex |
|
|
|
|
@noindent |
|
|
Copyright @copyright{} 1995, 1996, 1997, 2001, 2002 Free Software Foundation, Inc. |
|
|
|
|
|
Permission is granted to copy, distribute and/or modify this document |
|
|
under the terms of the GNU Free Documentation License, Version 1.1 or |
|
|
any later version published by the Free Software Foundation; with no |
|
|
Invariant Sections, with the Front-Cover texts being ``A GNU |
|
|
Manual'', and with the Back-Cover Texts as in (a) below. A copy of the |
|
|
license is included in the section entitled ``GNU Free Documentation |
|
|
License'' in the Emacs manual. |
|
|
|
|
|
(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify |
|
|
this GNU Manual, like GNU software. Copies published by the Free |
|
|
Software Foundation raise funds for GNU development.'' |
|
|
|
|
|
This document is part of a collection distributed under the GNU Free |
|
|
Documentation License. If you want to distribute this document |
|
|
separately from the collection, you can do so by adding a copy of the |
|
|
license to the document, as described in section 6 of the license. |
|
|
|
|
|
@ifinfo |
|
57 |
@node Top, Overview,, (DIR) |
@node Top, Overview,, (DIR) |
58 |
|
|
59 |
@unnumbered Viper |
@unnumbered Viper |
99 |
@code{kifer@@cs.stonybrook.edu} is the current address for Viper bug reports. |
@code{kifer@@cs.stonybrook.edu} is the current address for Viper bug reports. |
100 |
Please use the Ex command @kbd{:submitReport} for this purpose.@refill |
Please use the Ex command @kbd{:submitReport} for this purpose.@refill |
101 |
|
|
102 |
@end ifinfo |
@end ifnottex |
103 |
|
|
104 |
@menu |
@menu |
105 |
* Overview:: Read for a smoother start |
* Overview:: Read for a smoother start |
1194 |
from the menubar. Viper customization group is located under the |
from the menubar. Viper customization group is located under the |
1195 |
@emph{Emulations} customization group, which in turn is under the |
@emph{Emulations} customization group, which in turn is under the |
1196 |
@emph{Editing} group (or simply by typing @kbd{:customize}). All Viper |
@emph{Editing} group (or simply by typing @kbd{:customize}). All Viper |
1197 |
faces are grouped together under Viper's |
faces are grouped together under Viper's |
1198 |
@emph{Highlighting} group. |
@emph{Highlighting} group. |
1199 |
|
|
1200 |
Try it: it is really simple! |
Try it: it is really simple! |
1748 |
emitted by the arrow and function keys. Other sequences, e.g., @kbd{\\e/}, are |
emitted by the arrow and function keys. Other sequences, e.g., @kbd{\\e/}, are |
1749 |
treated as @kbd{ESC} command followed by a @kbd{/}. This is good for people |
treated as @kbd{ESC} command followed by a @kbd{/}. This is good for people |
1750 |
who type fast and tend to hit other characters right after they hit |
who type fast and tend to hit other characters right after they hit |
1751 |
ESC. Other people like Emacs to translate @kbd{ESC} sequences all the time. |
ESC. Other people like Emacs to translate @kbd{ESC} sequences all the time. |
1752 |
The default is to translate all sequences only when using a dumb terminal. |
The default is to translate all sequences only when using a dumb terminal. |
1753 |
This permits you to use @kbd{ESC} as a meta key in insert mode. For instance, |
This permits you to use @kbd{ESC} as a meta key in insert mode. For instance, |
1754 |
hitting @kbd{ESC x} fast would have the effect of typing @kbd{M-x}. |
hitting @kbd{ESC x} fast would have the effect of typing @kbd{M-x}. |
2035 |
@code{viper-insert-global-user-map}, and @code{viper-emacs-global-user-map}, as |
@code{viper-insert-global-user-map}, and @code{viper-emacs-global-user-map}, as |
2036 |
explained below. Each of these key maps affects the corresponding Viper state. |
explained below. Each of these key maps affects the corresponding Viper state. |
2037 |
The keymap @code{viper-insert-global-user-map} also affects Viper's Replace |
The keymap @code{viper-insert-global-user-map} also affects Viper's Replace |
2038 |
state. |
state. |
2039 |
|
|
2040 |
@noindent |
@noindent |
2041 |
If you want to |
If you want to |
2219 |
@code{viper-want-emacs-keys-in-vi} and @code{viper-want-emacs-keys-in-insert} to |
@code{viper-want-emacs-keys-in-vi} and @code{viper-want-emacs-keys-in-insert} to |
2220 |
@code{nil}). |
@code{nil}). |
2221 |
If @code{viper-always} is set to @code{t} (which is the default), Viper |
If @code{viper-always} is set to @code{t} (which is the default), Viper |
2222 |
will try to bring each buffer |
will try to bring each buffer |
2223 |
in the Viper state that is most appropriate for that buffer. |
in the Viper state that is most appropriate for that buffer. |
2224 |
Usually, this would be the Vi state, but sometimes it could be the Insert |
Usually, this would be the Vi state, but sometimes it could be the Insert |
2225 |
state or the Emacs state. |
state or the Emacs state. |
2661 |
purpose of mouse search and mouse insert. By default, this is set to |
purpose of mouse search and mouse insert. By default, this is set to |
2662 |
@code{double-click-time} in Emacs and to |
@code{double-click-time} in Emacs and to |
2663 |
@code{mouse-track-multi-click-time} milliseconds in XEmacs. |
@code{mouse-track-multi-click-time} milliseconds in XEmacs. |
2664 |
@end table |
@end table |
2665 |
@kindex @kbd{S-Mouse-1} |
@kindex @kbd{S-Mouse-1} |
2666 |
@kindex @kbd{S-Mouse-2} |
@kindex @kbd{S-Mouse-2} |
2667 |
@kindex @kbd{meta shift button1up} |
@kindex @kbd{meta shift button1up} |
2731 |
specially, if this key sequence is bound to a macro. |
specially, if this key sequence is bound to a macro. |
2732 |
|
|
2733 |
Viper provides Vi-style keyboard macros through the usual Ex commands, |
Viper provides Vi-style keyboard macros through the usual Ex commands, |
2734 |
@kbd{:map} and |
@kbd{:map} and |
2735 |
@kbd{:map!}. These macros are much more powerful in Viper than |
@kbd{:map!}. These macros are much more powerful in Viper than |
2736 |
they are in the original Vi and in other emulators. This is because Viper |
they are in the original Vi and in other emulators. This is because Viper |
2737 |
implements an enhanced vi-style |
implements an enhanced vi-style |
4044 |
@item :args |
@item :args |
4045 |
List files not shown anywhere with counts for next |
List files not shown anywhere with counts for next |
4046 |
@item :n [count] [+<cmd>] [<files>] |
@item :n [count] [+<cmd>] [<files>] |
4047 |
Edit <count> file, or edit files. The count comes from @kbd{:args}. |
Edit <count> file, or edit files. The count comes from @kbd{:args}. |
4048 |
@item :N [count] [+<cmd>] [<files>] |
@item :N [count] [+<cmd>] [<files>] |
4049 |
Like @kbd{:n}, but the meaning of the variable |
Like @kbd{:n}, but the meaning of the variable |
4050 |
@var{ex-cycle-other-window} is reversed. |
@var{ex-cycle-other-window} is reversed. |
4051 |
@item :b |
@item :b |
4480 |
kin@@isi.com (Kin Cho), |
kin@@isi.com (Kin Cho), |
4481 |
kwzh@@gnu.org (Karl Heuer), |
kwzh@@gnu.org (Karl Heuer), |
4482 |
lindstro@@biostat.wisc.edu (Mary Lindstrom), |
lindstro@@biostat.wisc.edu (Mary Lindstrom), |
4483 |
|
lektu@@terra.es (Juanma Barranquero), |
4484 |
minakaji@@osaka.email.ne.jp (Mikio Nakajima), |
minakaji@@osaka.email.ne.jp (Mikio Nakajima), |
4485 |
Mark.Bordas@@East.Sun.COM (Mark Bordas), |
Mark.Bordas@@East.Sun.COM (Mark Bordas), |
4486 |
meyering@@comco.com (Jim Meyering), |
meyering@@comco.com (Jim Meyering), |