parent
edc2a88643
commit
2adbbb4129
|
@ -398,6 +398,16 @@ command itself.
|
|||
for example, `3W` selects 3 consecutive words and `3w` select the third word on
|
||||
the right of selection end.
|
||||
|
||||
Disabling Hooks
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
Any normal mode command can be prefixed with `\` which will disable hook execution
|
||||
for the duration for the command (including the duration of modes the command could
|
||||
move to, so `\i` will disable hooks for the whole insert session).
|
||||
|
||||
As autoindentation is implemented in terms of hooks, this can be used to disable
|
||||
it when pasting text.
|
||||
|
||||
Changes
|
||||
~~~~~~~
|
||||
|
||||
|
|
|
@ -67,6 +67,25 @@ Insert mode
|
|||
*<a-;>*::
|
||||
escape to normal mode for a single command
|
||||
|
||||
Using Counts
|
||||
------------
|
||||
|
||||
In normal mode, commands can be prefixed with a numeric count, which can control
|
||||
the command behaviour.
|
||||
|
||||
for example, *3W* selects 3 consecutive words and *3w* select the third word on
|
||||
the right of selection end.
|
||||
|
||||
Disabling Hooks
|
||||
---------------
|
||||
|
||||
Any normal mode command can be prefixed with *\* which will disable hook execution
|
||||
for the duration for the command (including the duration of modes the command could
|
||||
move to, so *\i* will disable hooks for the whole insert session).
|
||||
|
||||
As autoindentation is implemented in terms of hooks, this can be used to disable
|
||||
it when pasting text.
|
||||
|
||||
Movement
|
||||
--------
|
||||
'word' is a sequence of alphanumeric characters or underscore, and 'WORD'
|
||||
|
|
Loading…
Reference in New Issue
Block a user