gepoch / vim-surround

Surround for the Atom editor.
MIT License
52 stars 2 forks source link

Adding custom wrapping characters causes extra wrappings to be put in the editor before refresh #13

Closed mrmurphy closed 9 years ago

mrmurphy commented 9 years ago

Hi there! Thanks for making this package!

When I add custom characters to the plugin settings, and then try to use the plugin, I get a bunch of extra wrappings inserted into my editor. After refreshing the editor, the extra wrappings go away.

I'm guessing that probably the keybinding to trigger a wrapping is getting re-bound every time that settings box is edited, instead of the binding getting replaced.

That's all!

screenshot 2015-03-12 15 39 42

gepoch commented 9 years ago

Ah! Yeah. Honestly my dynamic reconfiguring chops are probably pretty sloppy, and it's simple enough to referesh.

I'm onboard with fixing it though, as it's a UX speedbump.

gepoch commented 9 years ago

Fixed in 0.4.3!