janus icon indicating copy to clipboard operation
janus copied to clipboard

load matchit from vim?

Open benatkin opened this issue 8 years ago • 3 comments

The matchit plugin, which used to be included with janus, was removed from github (#673), but there's one built into vim. It can be loaded with source $VIMRUNTIME/macros/matchit.vim which just runs packadd matchit on vim 8. How about loading it from vim, if it exists? I'm not sure how widely available it is.

benatkin avatar May 03 '17 18:05 benatkin

@benatkin feel free to file a PR and I'll take a look

kalbasit avatar May 04 '17 00:05 kalbasit

matchit ships with vim but it is not enabled by default

Add this to your .vimrc.after

runtime macros/matchit.​vim​

montalvomiguelo avatar Jul 01 '17 19:07 montalvomiguelo

@montalvomiguelo it was the default before #673 and ought to be made the default again. Turning it off wasn't a design decision – it was because the matchit.vim repo got deleted.

benatkin avatar Jul 03 '17 18:07 benatkin