Sublime Forum

Vintage mode, % jump between begin-end tag like matchit.vim

#1

Hi,

I have ST3 with vintage enabled. One of the nice features of VIM is matchit.vim which comes bundled with the standard installation and allows you to jump between the begin/end tags using ‘%’. This is invaluable for XML and HTML.

Since I am a ST newbie, I would also like to enquire whether one can achieve this using a plugin while _still _ preserving the default behavior of % in vintage - jumping between begin/end parenthesis, brackets, etc.

Description of matchit.vim:
The matchit.vim script allows you to configure % to match more than just single characters. You can match words and even regular expressions. Also, matching treats strings and comments (as recognized by the
syntax highlighting mechanism) intelligently.

0 Likes

#2

Take a look at this enhanced vi package for ST3: github.com/guillermooo/Vintageous/

0 Likes