Lurker News

Comments (280) 72 threads

varbhat6 replies#
Before trying these courses , Please try vimtutor that comes bundled with vim . After practicing with vimtutor , you can try these additional courses.
mhaberl1 reply#
For anyone wondering, you use it by executing vimtutor in terminal (not in vim).

Also, you exit by pressing ESC and then typing :q (hit enter)

libria3 replies#
How fitting that the tutorial for vim needs its own pre-tutorial for exiting.
Izkata#
It's also in the tutor, lesson 1.2

But there's actually nothing special about vimtutor here: all it does is write a temporary file and then open it in vim.

samstave#
Before replying to your post I upvoted, I had to hit a link called [REPLY]
alfiedotwtf1 reply#
Having seen machines that have hundreds of Vim sessions opened because “system integrators” didn’t know how to exit Vim, it should be the very first thing taught

Continue this thread — 1 reply

CoffeePython#
Yep I’d definitely recommend the same, vimtutor is great.
kkoncevicius2 replies#
first vimtutor and then :help user-manual
gbrown_#
Yes! Sadly a lot of people skip over this despite vimtutor pointing to it at the end. Copy/paste below as the text doesn't need paraphrasing, but also because a lot of comments here seem to be advocating vimtutor as something more than the "brief overview" it is.

    This concludes the Vim Tutor.  It was intended to give a brief overview of
    the Vim editor, just enough to allow you to use the editor fairly easily.
    It is far from complete as Vim has many many more commands.  Read the user
    manual next: ":help user-manual".
40four#
The vim help files are fantastic. Well written, and clearly explain any feature you need to understand better.
rjvir3 replies#
Looks like "vimtutor" is primarily text explaining the hotkeys.

For me, the bottleneck to picking up vim has not been merely knowing the hotkeys, but more internalizing the commands and building muscle memory.
The interactive game format of this website could possibly solve that, so it appeals to me.

pksebben1 reply#
vimtutor is designed for you to use it regularly to train muscle memory
D21876451 reply#
Vimtutor is free so you are the product.

Continue this thread — 1 reply

baconsteakey1 reply#
It says this in the 3rd or 4th paragraph:

> It is important to remember that this tutor is set up to teach by use. That means that you need to execute the commands to learn them properly. If you only read the text, you will forget the commands!
And it's free, not 15 USD or whatever this site is charging.

ketzo5 replies#
Okay... but the difference between a piece of text just telling me to use the commands so I remember them versus an interactive trainer that provides a structured setting for me to use them is pretty significant, no?

Continue this thread — 5 replies

ansible#
Back in the day, playing /usr/games/hunt against other people would hone your VI movement keys muscle memory rather quickly.

On the multiuser Unix systems at Purdue, it was typical to have at least half a dozen people on the server, with explosions going off like fireworks. We ran the mod where you could collect 200 ammunition for the nuke, which would destroy a third of the screen.
https://man.openbsd.org/OpenBSD-current/man6/hunt.6
We also had Larry Wall's (yes, that one) video game Warp, which was a lot more action-oriented than the original Star Trek video game. It also used the same hjkl movement keys.
http://ftpmirror.your.org/pub/misc/unixarchive/PDP-11/Trees/...
And of course there was Rogue and Nethack, but those are a lot better remembered these days.

scottmcdot#
vimtutor might be a little too intimidating compared to a vim course in a browser.
ajfjrbfbf1 reply#
I started with vimtutor, then installed IdeaVim in all my Jetbrains IDEs, it took me about a week to reach the same level of efficiency I had before.

I don't understand how some people can say the learning curve is too steep. Sure it's a bit annoying at first, but it quickly becomes natural, and you don't have to use all features at first. It has allowed me to improve my touch typing a lot. Learning a programming language is a lot more work but hardly anyone ever complain about it.
It's been maybe two months and I wouldn't think of using anything else than vim for serious code editing.

sverhagen2 replies#
> I don't understand how some people can say the learning curve is too steep

I am doing fine with vim for basic editing tasks and use it a lot (mostly when I'm already in the command line). But there's just only so many shortcuts I'm capable of memorizing. This is not a problem for me exclusive to vim, of course. In IntelliJ I also sometimes find an amazing new function that I then don't keep using since I've already exhausted my limited "inclination" of learning new shortcuts. Also, I don't think my productivity gains at this point are going to come from faster input anyway. Sorry, vim, it's not you, it's me.

Agentlien#
That's one of the strengths of Vim, though. There's a lot of structure to it, so you don't need to learn nearly as many shortcuts as you otherwise would.
40four2 replies#
I’m a full time vim user now, and I would say the ‘productivity’ gains are a bit of a pipe dream. That’s not the reason I would recommend anyone learn vim. The best reason for me is that vim is just fun.

When you finally become competent, it is an absolute joy to work with. It makes me think about editing in a totally different way. However the road to get to that point is not fun.
I started out with basic tasks in the terminal, & vimtutor reps. Then graduated to using a VS code plugin. I would turn it on for 10-15 minutes at a time a few times a day. Usually turning it off once I realize I wasn’t getting anything done :) But solid reps everyday over a few months and I got to where I learned more complex commands/ movements. Eventually I never needed to turn it off!
Then I began the configuration & plugin rabit-hole :)

Continue this thread — 2 replies

windexh8er1 reply#
I think some (maybe vim experts) jumped a bit too quickly to vimtutor. In some regard, I agree. But I tried the initial exercise on my 8 year old and was impressed, so I purchased to have access to the rest. I'd say I'm a sub-par intermediate vim user - knowing enough to know that I don't know or use the true power of vim day to day, but have memorized a few "tricks" that seem to impress basic vim users. Hoping I can leverage this to break a few bad habits I've gotten into. Nice UI and I think the pricing is fair. Hopefully the content expands, but even if the service isn't around more than a few years I feel like the $15 will have been worth it. Nice work!

Edit: question for Kenneth - do you plan on expanding the content?

CoffeePython#
There’s been decent demand for some more advanced lessons. I’m considering adding more. Anyone who has bought already would get the additional lessons for free
buzzerbetrayed1 reply#
I love vim-adventures. It was the only way I was able to stay motivated to learn vim well enough for it to "stick". I just hate that you can only buy 6 month access to it. I'd happily pay 2-3x the price for lifetime access, but the fact that I can only buy 6 more months makes me pretty sure that they won't be getting any more money from me. I think I would still hop on for a few minutes every few months to practice up on some stuff that I forgot.
ignitionmonkey1 reply#
Have you tried contacting the developer?
anonymoushn2 replies#
I have contacted the developer and offered $10,000 for a perpetual license, but it was not for sale.

Continue this thread — 2 replies

Twisell4 replies#
Well I think the nice point of doing excercise in a web browser is that you can quickly switch to another tab and search for daring questions such as " by the way why on earth does this monstrosity want me to use hjkl? That don't make any sense!!!!"

https://catonmat.net/why-vim-uses-hjkl-as-arrow-keys
For a mostly data/SQL guy wanting to learn more about coding it still don't make much sense but at least I know why and I can move on. When I was trying vimtutor in a CLI interface I was less curious and more WTF F... this is pure madness kind of mood.
Dunno if I'll subscribe but nice first experience through this demo.

enriquto1 reply#
> the nice point of doing excercise in a web browser is that you can quickly switch to another tab and search for daring questions such as (...)

On the contrary... I'd say that if you are outside a browser, it is somewhat easier to have a browser window side by side and ALT-TAB between both. Having two tabs visible at the same time is a bit cumbersome.

MetalGuru#
On the contrary, having a giant monitor with two tabs open... /s

Who cares? So nit. You could hotkey to switch between two windows of the same program.

tasuki2 replies#
> " by the way why on earth does this monstrosity want me to use hjkl? That don't make any sense!!!!"

Indeed, why? Using hjkl is about the worst way to move around in vim...

X6S1x6Okd1st2 replies#
/%qqnxq19@q is clearly the solution to the "navigate to % and delete it"
drKarl2 replies#
Or f%x

Continue this thread — 2 replies

tasuki#
The correct answer!
runeb#
When you consider the concept of home row keys and touch typing I find it very natural, actually. Its ergonomic and very fast if you get into the habit of resting your fingers on the home row.

Though you may have been alluding to more powerful movements!

sodapopcan2 replies#
HJKL also allows you to keep your fingers on the homerow at all times which is really great. I had issues with RSI that when away when I started using Vim properly. Travelling to the arrow keys now feels like a painful task to me! Of course, as a sibling comment mentioned, hjkl is the worst way to move around--"power users" generally only use them to move a char/line or two.
pandemic_region1 reply#
Not when using Dvorak, here's how it maps from Qwerty: H->J J->C K->V L->P

Still works pretty well, i've gotten used to it.

mynameisash1 reply#
Fortunately, j & k are next to each other, and I never noticed any disconnect in vim w/Dvorak. I never use h & l -- mostly space, w/W, or b/B. But I also learned Dvorak before vim, so I never got used to hjkl.

Continue this thread — 1 reply

arendtio5 replies#
On the other side, it is probably the most unnecessary inflicted pain for beginners. Even after years of using vim on a daily basis, I can't get used to hjkl and still use the arrow keys. I tried a few times with different approaches, but it never lasted more than a few days. So pushing someone new to use hjkl for navigation is so unnecessary and just kills a lot of motivation for very little value.

Starting with deleting, yanking and pasting would be a lot more fun. Even navigation with gg and G plus numbers would be a lot more useful too. Like when you get an error message that is caused by line 42, you know why you want to use vim next time.

cptnapalm2 replies#
Opposite problem: I get so used to hjkl, I screw up everywhere else for awhile.

Continue this thread — 2 replies

Continue this thread — 4 more replies

Continue this thread — 1 more reply

Load more comments