On 2010/8/6 13:16, Dominique Pellé wrote:
H Xu wrote:

On 2010/8/5 21:08, Ryan Williams wrote:
% can't make cursor jump from one quote to its corresponding quote?
You may be interested in the surround.vim plugin - it doesn't have the %
behavior you want, but it has many commands that may accomplish what you're
trying to do.

http://www.vim.org/scripts/script.php?script_id=1697
--
You received this message from the "vim_use" 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

Hello Ryan Williams,

I already have this plugin installed, but this is really not
what  I need. What I need is a quick jump from one quote
  to another. But still thank you very much.

You can try the SyntaxMotion plugin.  It does something
close to what you need:

http://www.vim.org/scripts/script.php?script_id=2965

It moves the cursor  to the beginning or end of the syntax group where
cursor is located (or more exactly, the the beginning of the syntax
highlighting color).  So when cursor is inside a string "..._...", pressing
<Leader><Left>   (that's  2 keys, by default it's \  and<Left>) moves to
the beginning of the string (i.e. the start quote).  It works for any
other syntax groups.  For example, when in a comment, pressing
\<Left>  will move to the beginning of the comment.

-- Dominique

Hello,

Thank you! This plugin is useful. Can I bind the command to other keys in my vimrc, such as
\hh and \ll?

Regards,
Hong Xu
2010/8/6

--
You received this message from the "vim_use" 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

Reply via email to