You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
textobj#user#plugin() takes an obj_spec parameter describing how to wire up the mappings. It'd be nice to expose that machinery. For instance, I've been looking at vim-textobj-diff. While I like most of what it does, I'd like to map things a little differently (use [[, ]], [], ][ to navigate hunks and have the mappings be buffer specific, and they'll be setup at filetype detect time). Unfortunately, it turns out to be quite a bit of work redoing what plugin() is already helping with. It'd be nice to avoid that, and make it so that I can do something like:
textobj#user#plugin()
takes anobj_spec
parameter describing how to wire up the mappings. It'd be nice to expose that machinery. For instance, I've been looking at vim-textobj-diff. While I like most of what it does, I'd like to map things a little differently (use [[, ]], [], ][ to navigate hunks and have the mappings be buffer specific, and they'll be setup at filetype detect time). Unfortunately, it turns out to be quite a bit of work redoing whatplugin()
is already helping with. It'd be nice to avoid that, and make it so that I can do something like:The text was updated successfully, but these errors were encountered: