Live data from Hacker News

VIM Master

github.com

41–50 of 123 posts

Re: VIM Master

#41
post #29

Even though I don’t have much use for vim, and I have opinions on tools like this going beyond a certain level of efficiency because IMO the true bottleneck is usually decision/design based not implementation based, this just kinda looks fun and the appeal of vim as just a thing that feels cool to use when you have mastery of it sounds cool. Kinda like how it feels good to play an instrument when you’re good at it, o…

[deleted]

Re: VIM Master

#42
post #35
post #29

Even though I don’t have much use for vim, and I have opinions on tools like this going beyond a certain level of efficiency because IMO the true bottleneck is usually decision/design based not implementation based, this just kinda looks fun and the appeal of vim as just a thing that feels cool to use when you have mastery of it sounds cool. Kinda like how it feels good to play an instrument when you’re good at it, o…

Agree that decisions/designs are important. However, not everything can be well designed at the beginning. Skills of editing will affect efficiency, especially in a try-and-error loop of new ideas/approaches, where only a rough design exists. Besides, some niche editing tasks (which may involve column editing, macro recording then batched execution, regex based operation, encoding transformation etc.) may otherwise r…

>column editing

I haven't seen any other editor that comes anywhere near the capabilities provided by VIM. I spend a lot of time manipulating data into columnar form and for anything early vim does it effortlessly.

Re: VIM Master

#43
post #36

I really don't want to learn much more of vi than is documented in the POSIX standard: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/ I'm in busybox and on OpenBSD quite a bit, and all the vim embellishments would be a clutter of my neurons.

Cool that you're into retrocomputing, but many of the rest of us think perhaps some features added to vim from the last 30 years might be useful. That vi was standardized was one of the many failures of POSIX as an idea. The very idea that we should freeze a text editor for all time is silliness in the extreme.

While you may be a detractor, Apple appears to be an ardent admirer.

https://www.opengroup.org/openbrand/register/

Re: VIM Master

#44
post #7
post #4

Earlier quoted context omitted.

I think this one asks you to pay for it after a bit. Not that there's anything wrong with that. Just felt bad about getting a little bit in, and then being hit with a decent pay wall.

Right, I mean, author has the right to do this -- but it still seems like a gloriously stupid thing to try to get someone to pay for in this way; like what market is this? Like, I'd bet "Pay $10 if you like it" / ReaperWare would earn this person literally an order of magnitude more money.

>ReaperWare

What does this mean? All I found on the Google was a company that produces sim racing gear.

Re: VIM Master

#45

These little tutorials and games are great. I played VIM Adventures. However, one thing I really struggle with is learning when I can be doing something more efficiently. I rarely use markers, anything beyond default registers, commands, and so on. I'm giving Neovim a try for my systems course trying to get better but I do wish these sorts of games pushed me to get better at these more advanced usage tricks.

I created a ViM Message of the Day script that I added to my shell to give me a prompt every time I opened a new shell (Which I do constantly in ViM and Tmux since I've created leader key shortcuts in both)

https://github.com/cboppert/motd

You might have to futz with it a bit, and I think I've added some other stuff in there since then (love the toggle-light-mode script which toggles several things either to Dark or Light mode at once so I can switch environments easily, however have never gotten it to fully automate, so I have to manually type goDark or goLight depending. Humbug!)

Anyways, it's great cause it gives you one tip or command at a time, and so you can sort of slowly grow without really having to dedicate much time to it.

Re: VIM Master

#47
post #27

I'm surprised they don't even mention vimtutor. It's preinstalled on every machine with vim (to the best of my knowledge). This seems like a cool project, but might as well give a shout-out to the original concept.

vimtutor is to Babbel what this is to duolingo. Many will prefer learning through a game but some want a more textbook approach. Honestly, anything to get more people on vim and emacs is a good thing in my book!

> vimtutor is to Babbel what this is to duolingo

It took me half a minute to realize that you probably meant "vimtutor is to VIM master what Babbel is to duolingo".

Re: VIM Master

#48
post #26
post #16

Earlier quoted context omitted.

Oh man, I use markers all the time. ma y'a mark a spot, then yank or delete everything to that line. Way easier to do it accurately rather than 13yy or however many lines you're yanking.

ma, mb, mc => 'a, 'b, 'c => ...just being able to "tag" each of the three functions you're working with (comparing, copying, moving code, whatever) it's eventually worth it to get them into your muscle memory. And once you "get" marks, then you "get" registers "for free".

and this is why i always read vim articles... i've never used registers in my life.

Re: VIM Master

#49
post #47
post #27

Earlier quoted context omitted.

vimtutor is to Babbel what this is to duolingo. Many will prefer learning through a game but some want a more textbook approach. Honestly, anything to get more people on vim and emacs is a good thing in my book!

> vimtutor is to Babbel what this is to duolingo It took me half a minute to realize that you probably meant "vimtutor is to VIM master what Babbel is to duolingo".

Isn't it exactly the same thing? If a:b=c:d then a:c=b:d.

Re: VIM Master

#50
I generally recommend to exit either via :xa (save all & exit) or :qa! (discard all and exit), bound to ZZ or ZA respectively. If you exit via :q or :wq, it just closes the current buffer, and moves to the next one. E.g. if you have a neotree open along with the editor, you type :wq, it closes the editor buffer and moves you into the file tree, which can be very confusing for beginners.
Post reply on HN