1312 |
hit @kbd{C-x} followed by @kbd{2}, then the current window will be split |
hit @kbd{C-x} followed by @kbd{2}, then the current window will be split |
1313 |
into 2. Except for novice users, @kbd{C-c} is also set to execute an Emacs |
into 2. Except for novice users, @kbd{C-c} is also set to execute an Emacs |
1314 |
command from the current major mode. @key{ESC} will do the same, if you |
command from the current major mode. @key{ESC} will do the same, if you |
1315 |
configure @key{ESC} as Meta by setting @code{viper-no-multiple-ESC} to nil |
configure @key{ESC} as Meta by setting @code{viper-no-multiple-ESC} to @code{nil} |
1316 |
in @file{.viper}. @xref{Customization}. @kbd{C-\} in Insert, Replace, or Vi |
in @file{.viper}. @xref{Customization}. @kbd{C-\} in Insert, Replace, or Vi |
1317 |
states will make Emacs think @kbd{Meta} has been hit.@refill |
states will make Emacs think @kbd{Meta} has been hit.@refill |
1318 |
@item \ |
@item \ |
1742 |
|
|
1743 |
Setting this variable too high may slow down your typing. Setting it too |
Setting this variable too high may slow down your typing. Setting it too |
1744 |
low may make it hard to type macros quickly enough. |
low may make it hard to type macros quickly enough. |
1745 |
@item viper-translate-all-ESC-keysequences t on tty, nil on windowing display |
@item viper-translate-all-ESC-keysequences @code{t} on tty, @code{nil} on windowing display |
1746 |
Normally, Viper lets Emacs translate only those ESC key sequences that are |
Normally, Viper lets Emacs translate only those ESC key sequences that are |
1747 |
defined in the low-level key-translation-map or function-key-map, such as those |
defined in the low-level key-translation-map or function-key-map, such as those |
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 |
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}. |
1755 |
If your dumb terminal is not so dumb and understands the meta key, then you |
If your dumb terminal is not so dumb and understands the meta key, then you |
1756 |
probably will be better off setting this variable to nil. Try and see which |
probably will be better off setting this variable to @code{nil}. Try and see which |
1757 |
way suits you best. |
way suits you best. |
1758 |
@item viper-ex-style-motion t |
@item viper-ex-style-motion t |
1759 |
Set this to @code{nil}, if you want @kbd{l,h} to cross |
Set this to @code{nil}, if you want @kbd{l,h} to cross |
1764 |
at the beginning of a line in Insert state, @key{X} and @key{x} to delete |
at the beginning of a line in Insert state, @key{X} and @key{x} to delete |
1765 |
characters across lines in Vi command state, etc. |
characters across lines in Vi command state, etc. |
1766 |
@item viper-ESC-moves-cursor-back t |
@item viper-ESC-moves-cursor-back t |
1767 |
It t, cursor moves back 1 character when switching from insert state to vi |
It @code{t}, cursor moves back 1 character when switching from insert state to vi |
1768 |
state. If nil, the cursor stays where it was before the switch. |
state. If @code{nil}, the cursor stays where it was before the switch. |
1769 |
@item viper-always t |
@item viper-always t |
1770 |
@code{t} means: leave it to Viper to decide when a buffer must be brought |
@code{t} means: leave it to Viper to decide when a buffer must be brought |
1771 |
up in Vi state, |
up in Vi state, |
1873 |
insert state. |
insert state. |
1874 |
@item viper-replace-region-end-delimiter "$" |
@item viper-replace-region-end-delimiter "$" |
1875 |
A string used to mark the end of replacement regions. It is used only on |
A string used to mark the end of replacement regions. It is used only on |
1876 |
TTYs or if @code{viper-use-replace-region-delimiters} is non-nil. |
TTYs or if @code{viper-use-replace-region-delimiters} is non-@code{nil}. |
1877 |
@item viper-replace-region-start-delimiter "" |
@item viper-replace-region-start-delimiter "" |
1878 |
A string used to mark the beginning of replacement regions. It is used |
A string used to mark the beginning of replacement regions. It is used |
1879 |
only on TTYs or if @code{viper-use-replace-region-delimiters} is non-nil. |
only on TTYs or if @code{viper-use-replace-region-delimiters} is non-@code{nil}. |
1880 |
@item viper-use-replace-region-delimiters |
@item viper-use-replace-region-delimiters |
1881 |
If non-nil, Viper will always use @code{viper-replace-region-end-delimiter} and |
If non-@code{nil}, Viper will always use @code{viper-replace-region-end-delimiter} and |
1882 |
@code{viper-replace-region-start-delimiter} to delimit replacement regions, |
@code{viper-replace-region-start-delimiter} to delimit replacement regions, |
1883 |
even on color displays (where this is unnecessary). By default, this |
even on color displays (where this is unnecessary). By default, this |
1884 |
variable is non-nil only on TTYs or monochrome displays. |
variable is non-@code{nil} only on TTYs or monochrome displays. |
1885 |
@item viper-allow-multiline-replace-regions t |
@item viper-allow-multiline-replace-regions t |
1886 |
If non-nil, multi-line text replacement regions, such as those produced by |
If non-@code{nil}, multi-line text replacement regions, such as those produced by |
1887 |
commands @kbd{c55w}, @kbd{3C}, etc., will stay around until the user exits |
commands @kbd{c55w}, @kbd{3C}, etc., will stay around until the user exits |
1888 |
the replacement mode. In this variable is set to @code{nil}, Viper will |
the replacement mode. In this variable is set to @code{nil}, Viper will |
1889 |
emulate the standard Vi behavior, which supports only intra-line |
emulate the standard Vi behavior, which supports only intra-line |
2390 |
|
|
2391 |
To unbind the macros `//' and `///' for a major mode where you feel they |
To unbind the macros `//' and `///' for a major mode where you feel they |
2392 |
are undesirable, execute @code{viper-set-emacs-state-searchstyle-macros} with a |
are undesirable, execute @code{viper-set-emacs-state-searchstyle-macros} with a |
2393 |
non-nil argument. This can be done either interactively, by supplying a |
non-@code{nil} argument. This can be done either interactively, by supplying a |
2394 |
prefix argument, or by placing |
prefix argument, or by placing |
2395 |
@example |
@example |
2396 |
(viper-set-emacs-state-searchstyle-macros 'undefine) |
(viper-set-emacs-state-searchstyle-macros 'undefine) |
3360 |
Find the next bracket/parenthesis/brace and go to its match. |
Find the next bracket/parenthesis/brace and go to its match. |
3361 |
By default, Viper ignores brackets/parentheses/braces that occur inside |
By default, Viper ignores brackets/parentheses/braces that occur inside |
3362 |
parentheses. You can change this by setting |
parentheses. You can change this by setting |
3363 |
@code{viper-parse-sexp-ignore-comments} to nil in your @file{.viper} file. |
@code{viper-parse-sexp-ignore-comments} to @code{nil} in your @file{.viper} file. |
3364 |
This option can also be toggled interactively if you quickly hit @kbd{%%%}. |
This option can also be toggled interactively if you quickly hit @kbd{%%%}. |
3365 |
|
|
3366 |
This latter feature is implemented as a vi-style keyboard macro. If you |
This latter feature is implemented as a vi-style keyboard macro. If you |