Share

jVi - vi editor clone

Tracker: Feature Requests

5 [ ] Brace/paren/other navigation. - ID: 1829295
Last Update: Comment added ( err )

:help ]} brings you to these.

vim's got some great navigations, the two I like the most are [(, ]), [{,
]}, which move you're cursor to the opening paren, closing paren, opening
brace, closing brace. Hitting [{ [{ will move you out two braces which if
you are in a else and want to move out two blocks or just making sure
braces line up it's nice.

Thanks for the dev.

There's other handy ones, but these are the ones in the help, but these are
the ones I missed most.


Robert Zaleski ( robert_zaleski ) - 2007-11-09 23:12

5

Open

Fixed

Nobody/Anonymous

Editing

None

Public


Comments ( 3 )

Date: 2009-12-09 14:59
Sender: errProject Admin

Implementation committed to CVS. Realized that when most of the text-object
stuff was put in, it provided the core of several navigation commands.
These commands are implemented: [{, [(, ]}, ]), [#, ]#, [/, [*, ]/, ]*, [m,
]m, [M, ]M, [[, [], ]], ][


Date: 2009-10-01 05:51
Sender: ndl

Was this in fact implemented for NB 6.x? I can't seem to make it work with
jvi 1.2.6 and NetBeans 6.7.1, and having no ability to jump to parent brace
for the language like Erlang is quite frustrating ;-)

And yes, thanks for this plugin indeed!


Date: 2007-11-10 01:42
Sender: errProject Admin


I defered such navigations until NB6 since the JavaSource interface all
changed. I did look at Retouche a bit with
http://platform.netbeans.org/tutorials/nbm-copyfqn.html tutorial thinking
of doing the ]m, ]M, [m, [M navigations. I decided that these navigations
wouldn't be too bad, and never got back to it.

If you do this standalone without Retouche, so strings and comments are
skipped appropriately, that would be cool and probably useful for other new
features.



Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
resolution_id None 2009-12-09 14:59 err