Live data from Hacker News

Vimbits: submit and vote on .vimrc tricks

vimbits.com

21–30 of 42 posts

Re: Vimbits: submit and vote on .vimrc tricks

#21

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.

And 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.

Re: Vimbits: submit and vote on .vimrc tricks

#22
post #21

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.

And 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.

Not a bad idea- I'll see what I can do.

Re: Vimbits: submit and vote on .vimrc tricks

#24

kind of like this subreddit i made a while ago: http://www.reddit.com/r/vimcommands

Neat subreddit- consider me subscribed! I made vimbits, though, because I see a few sites for general vim commands, but none for specific vimrc config tricks.

Re: Vimbits: submit and vote on .vimrc tricks

#25

kind of like this subreddit i made a while ago: http://www.reddit.com/r/vimcommands

Neat subreddit- consider me subscribed! I made vimbits, though, because I see a few sites for general vim commands, but none for specific vimrc config tricks.

I'm glad you made it, it's much better than the subreddit! It would be cool if you were able to include video examples of the things in action (sometimes) as use cases.

Re: Vimbits: submit and vote on .vimrc tricks

#26
post #2

I think this is great and the idea may be replicated for anything else in the opensource world. For instance, how a about voting for useful git commands, useful rubygems or js libs? It's not always clear, especially for the novice, what is currently hot in his environment-of-choice infrastructure or which vim commands he should learn first. Voting could help.

For git there's www.commandlinefu.com/commands/tagged/67/git

I'm just gonna karma whore it up here and give the clickable:

http://www.commandlinefu.com/commands/tagged/67/git

If you want to upvote, please upvote parent.

Re: Vimbits: submit and vote on .vimrc tricks

#27
Bug report on the signup/login process: account creation requires both an email and username, but logging in later with the username doesn't work; you have to use the email. Yet, Firefox defaults to remembering the username+password, not the email+password. Did you intend it for use in attributions only? If so, call it "Name" instead, and don't require uniqueness.

Re: Vimbits: submit and vote on .vimrc tricks

#28

Bug report on the signup/login process: account creation requires both an email and username, but logging in later with the username doesn't work; you have to use the email. Yet, Firefox defaults to remembering the username+password, not the email+password. Did you intend it for use in attributions only? If so, call it "Name" instead, and don't require uniqueness.

Fair enough- usernames were added after the fact as I realized that people want attribution, but no one wants their email public.

Re: Vimbits: submit and vote on .vimrc tricks

#29
post #21

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.

And 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.

How 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.

Re: Vimbits: submit and vote on .vimrc tricks

#30
Awesome concept! Thanks for building this.

One possible issue - There needs to be some kind of search for finding similar "VimBits". I wanted to add some of my favorites, but I have no way of knowing whether they're there already without reading through everything on the site.

You'll probably get a massive amount of duplication unless you can implement some kind of "suggested duplicates" on the create page, like Stack Overflow.

Post reply on HN