Christian Brabandt wrote:
Hi Bram!

On Di, 02 Aug 2011, Bram Moolenaar wrote:

Christian Brabandt wrote:

this patch fixes this issue from the todo list:


,----
| 8   Add a command to jump to the next character highlighted with
| "Error".
`----

It implements the [e and ]e movement commands, which move to the
previous or next error. And while I was at it, I also made [t ]t move to
the previous/next item that is highlighted with TODO highlighting.
Thanks, I'll put it on the todo list.

We are running out of command characters, taking two more from the ] and
[ list makes me wonder how many users will use them.  Perhaps we should
have one "move to highlight" command with an argument to specify what
kind of highlighting?  That would be more future safe.
Like what? Something like ]h plus a char, that identifies the
highlighting?
What about [h and ]h, which would move to the next/previous instance of the highlighting group specified in a new vim option; as a suggestion, jumphlgroup . This would be instead of [t and ]t, and could be used instead of [e and]e, too, I suppose.

Regards,
Chip Campbell

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui