aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README6
-rw-r--r--doc/nextag.txt6
-rw-r--r--plugin/nextag.vim3
3 files changed, 10 insertions, 5 deletions
diff --git a/README b/README
index 7a3c427..5f27fcc 100644
--- a/README
+++ b/README
@@ -3,8 +3,10 @@ nextag - SGML tag motions (XML, XHTML, HTML etc)
Author: Tom Ryder <tom@sanctum.geek.nz>
License: Same terms as Vim itself
-Navigate forward and backward by tags, just like a normal Vim motion.
-Operators and counts can be prepended, and it also works in visual mode.
+Move to next and previous tags in a SGML document, including XML and HTML. Use
+<leader>. and <leader>, to search for the next and previous tags, respectively.
+Prepended counts work, e.g. 5<leader>. as do operations, e.g. d<leader>. and
+visual mode e.g. v<leader>,. Doesn't match SGML comments or !DOCTYPES.
{operator}{count}\. Move to start of next tag, if one exists.
diff --git a/doc/nextag.txt b/doc/nextag.txt
index 92fb46d..6e13cf4 100644
--- a/doc/nextag.txt
+++ b/doc/nextag.txt
@@ -5,8 +5,10 @@ License: Same terms as Vim itself (see |license|)
DESCRIPTION *nextag*
-Navigate forward and backward by tags, just like a normal Vim motion.
-Operators and counts can be prepended, and it also works in visual mode.
+Move to next and previous tags in a SGML document, including XML and HTML. Use
+<leader>. and <leader>, to search for the next and previous tags, respectively.
+Prepended counts work, e.g. 5<leader>. as do operations, e.g. d<leader>. and
+visual mode e.g. v<leader>,. Doesn't match SGML comments or !DOCTYPES.
MAPPINGS *nextag-mappings*
diff --git a/plugin/nextag.vim b/plugin/nextag.vim
index 68bb0fc..d35fbd8 100644
--- a/plugin/nextag.vim
+++ b/plugin/nextag.vim
@@ -2,7 +2,8 @@
" nextag.vim - Move to next and previous tags in a SGML document, including
" XML and HTML. Use <leader>. and <leader>, to search for the next and
" previous tags, respectively. Prepended counts work, e.g. 5<leader>. as do
-" operations, e.g. d<leader>. and visual mode e.g. v<leader>,.
+" operations, e.g. d<leader>. and visual mode e.g. v<leader>,. Doesn't match
+" SGML comments or !DOCTYPES.
"
" Maintainer: Tom Ryder <http://www.sanctum.geek.nz/>
"