4 ms·
I'd love a "click on this to add it to your vimrc" feature. There are a couple of thing you'd have to be careful about getting right for a script like that (IE
by AlexeyMK 15y ago
I'd love a "click on this to add it to your vimrc" feature.
There are a couple of thing you'd have to be careful about getting right for a script like that (IE, all the from-vimbits parts should be grouped together and documented), and the script that runs on my computer should be one that I can easily verify myself does only what I wanted.
- oacgnol 15y agoAnd if not that, a copy to clipboard feature would be the next best thing - right now highlighting also grabs the extra text so copy/pasting these takes a bit of extra work and cleanup.
- fishtoaster 15y agoNot a bad idea- I'll see what I can do.
- tubs 15y agoHow about keeping a (per-user) .vimrc.bits file on the site itself, then a button per bit would add/remove that snippet from my .vimrc.bits, which I can include in my main .vimrc. This could get better integration with the site, given it would be reasonably simple to remove snippets as well as add them.
- seagreen 15y agoThat would have the additional advantage of giving you easy access to your vimrc no matter what computer you were on.