2016-11-11 00:15:52 +00:00
|
|
|
*highlight-registry* functionality of the highlight registry
|
2016-11-08 01:49:02 +00:00
|
|
|
|
|
|
|
============================================================================
|
|
|
|
CONTENTS *highlight-contents*
|
|
|
|
|
|
|
|
1. Usage .................................................. |highlight-usage|
|
2016-11-08 01:53:43 +00:00
|
|
|
2. Variables .......................................... |highlight-variables|
|
2016-11-08 01:49:02 +00:00
|
|
|
|
|
|
|
============================================================================
|
|
|
|
Section 1: Usage *highlight-usage*
|
|
|
|
|
|
|
|
["x]& Highlights the <cword> under the cursor
|
|
|
|
into register x.
|
|
|
|
|
|
|
|
["x]y& Sets the search register to the contents of
|
|
|
|
register x.
|
|
|
|
|
|
|
|
["x]d& Removes the <cword> from register x.
|
|
|
|
|
|
|
|
["x]c& Emptys register x. No patterns previously
|
|
|
|
belonging inside this register will be
|
|
|
|
highlighted.
|
|
|
|
|
|
|
|
["x]* Highlights the <cword> under the cursor
|
|
|
|
into register x. Moves to the next
|
|
|
|
occurrence of the <cword>.
|
|
|
|
|
|
|
|
["x]# Highlights the <cword> under the cursor
|
|
|
|
into register x. Moves to the previous
|
|
|
|
occurrence of the <cword>.
|
|
|
|
|
|
|
|
["x]g& Highlights the <cword> under the cursor, but
|
|
|
|
without forcing any highlighted occurrences
|
|
|
|
to be a word. That is, if the selected
|
|
|
|
<cword> is a substring of any text in the
|
|
|
|
current buffer, the substring will also be
|
|
|
|
highlighted.
|
|
|
|
|
|
|
|
["x]g* Works like ["x]g& but also moves to the next
|
|
|
|
occurrence of the pattern.
|
|
|
|
|
|
|
|
["x]g# Works like ["x]g& but also moves to the
|
|
|
|
previous occurrence of the pattern.
|
|
|
|
|
|
|
|
v_["x]& Note the v indicates visual mode. Works like
|
|
|
|
g&, but with the visually selected region.
|
|
|
|
|
|
|
|
v_["x]* Note the v indicates visual mode. Works like
|
|
|
|
g*, but with the visually selected region.
|
|
|
|
|
|
|
|
v_["x]# Note the v indicates visual mode. Works like
|
|
|
|
g#, but with the visually selected region.
|
|
|
|
|
|
|
|
v_["x]d& Note the v indicates visual mode. Removes
|
|
|
|
the visually selected region from register
|
|
|
|
x.
|
|
|
|
|
2016-11-08 01:53:43 +00:00
|
|
|
============================================================================
|
|
|
|
Section 2: Variables *highlight-variables*
|
|
|
|
|
|
|
|
g:highlight_register_default_color
|
|
|
|
|
|
|
|
Default color used when initializing an unused register.
|
|
|
|
|
|
|
|
|
2016-11-08 01:49:02 +00:00
|
|
|
vim:tw=78:ts=8:ft=help:norl:
|