chrisbra / matchit

The matchit plugin from Vim
61 stars 9 forks source link

Change mapping style and fix v_a% #9

Closed k-takata closed 6 years ago

k-takata commented 6 years ago

Use <Plug>(Matchit...) instead of <Plug>Matchit... style. Adding parentheses makes easier to distinguish mapping names and other characters. E.g.

Without parentheses:

map lhs <Plug>MatchitVisualMultiBackwardo

With parentheses:

map lhs <Plug>(MatchitVisualMultiBackward)o

The last o is not a part of a mapping name, but it is hard to notice without the parentheses.

chrisbra commented 6 years ago

and thanks again!