Live data from Hacker News

Intermediate Vim

dn.ht

121–130 of 130 posts

Re: Intermediate Vim

#121
post #88
post #17

One thing I miss on Vim I have on Spacemacs with the Evil layer is the "a" object (for "argument"). With it I can delete/change an argument of a function in a flash. Example (cursor on the last arg): importAntigravity(usePython, crashTheUniverse) importAntigravity(usePython)

This does that in Vim: https://github.com/wellle/targets.vim I use it all the time! The only reason I don't use Spacemacs is the startup time/GUI lag, but if it works for you keep at it!

Running emacs as a daemon will get rid of the lag :)

Re: Intermediate Vim

#122

“If you’re like me and never learned to touch type properly, just use the arrow keys, it’s fine, don’t worry about it.” Are touch typists rare these days? I feel like people these days forego even learning to type properly. I dont understand why they refuse to just learn it, it is such an essential skill to have.

I think increasingly so due to the prevalence of touch screen typing (I've no evidence to cite, it's just a gut feel). My kids, aged 10 & 12 cannot touch type, despite plenty of experience on a keyboard, they just spend far more time on phones and tablets.

Personally, I learned to first type in the mid to late 80s on a 286 using Mazis Beacon and an IBM selectric typewriter. I wasn't hunt and peck, but still looked at the keyboard while typing.

I didnt really no-look touch type until a took a typing class in high school where they covered your hands so you couldnt see the keyboard. That was the key to me really improving. I went from around 45 wpm to about 120 wpm. I didnt really get comfortable with the number/symbol row until I started programming heavily. Still had to look down for a while to find those symbols. Also one of the reasons I hate nonstandard keyboard layouts. I know where "{}[]/\" are, but on a laptop or compact keyboard, I'll have to gunt for those potentially.

Re: Intermediate Vim

#123
post #104

Earlier quoted context omitted.

We were taught to touch type in grade school, but I goofed off during those lessons. I got through college without needing it. I was a speedy point-and-peck typist, which was good enough for that period of my life. Later on, when I learned to program, I found that my slow typing speed frequently caused me to lose my train of thought midway through a line of code. It was frustrating enough that I spent a month teachin…

Mind if I asked which course/website you used to learn how to type properly?

Ah, sorry it took so long to respond—I was at work. I used KeyHero[1], mostly because the passages were interesting enough to keep me from getting _too_ bored.

I studied a few charts beforehand, but the repetition is really what made it sink in.

[1] https://www.keyhero.com/free-typing-test/

Re: Intermediate Vim

#124
post #104

Earlier quoted context omitted.

Mind if I asked which course/website you used to learn how to type properly?

Idea for someone looking for something to build, on my list but probably won't prioritize it for many years as I'll build it eventually but would welcome someone else building it. If anyone wants to work on this ping me and maybe I can help collaborate/mentor. Typing App for Engineers, MVP: * Load a canvas with a preloaded code snippet, the text is mostly greyed out * When typing your text shows over the greyed out t…

I was actually learning React around the time I was learning to touch type. So, naturally, my first project was to build a typing test[0] :) Looking back, I cringe at the code quality. But it worked and I had fun doing it. ¯\_(ツ)_/¯

I like the idea of typing out code though! I think there are some sites that do that, like https://typing.io/

[0] https://github.com/breyerjs/typequick

Re: Intermediate Vim

#125
The most notable tool to help improving your skill in vim (after doing the excellent vimtutor), is to go and do some vim golf. You can see the solution from just one point better than you, improving your skill gradually.

Re: Intermediate Vim

#126
Cityhometution is an online portal to find the professional tutors and tutor jobs which give the special and wide opportunity to the students/learners to select the best Home/online Tutor by their own choice under one roof with our unique features.

We are in the field of connecting Qualified Home/Online Tutors since 2005 with an extensive experience in dealing students and tutors in a familiar way.

• Trustworthy Home Tuition Providers • All Major Cities Of India • Over 12 Years Of Impeccable Service • Qualified And Verified Home / Online Tutors • Provided Tutors to Thousands Of Students Since 2005 • Our Students Are From Prestigious Corporate Schools and Colleges • Having more than 1,00,000 tutors in around In India • International Experience Trainer in Corporate Teaching

For more information: https://www.cityhometution.com/ WhatsApp : +91 9948464333

Re: Intermediate Vim

#127
post #121
post #88

Earlier quoted context omitted.

This does that in Vim: https://github.com/wellle/targets.vim I use it all the time! The only reason I don't use Spacemacs is the startup time/GUI lag, but if it works for you keep at it!

Running emacs as a daemon will get rid of the lag :)

As an emacs refugee, I disagree. I tried everything to get rid of the lag and it just became unbearable after having significant exposure to vim through pair programming. Now I just use Vim instead of trying to get Emacs to work like Vim.

Re: Intermediate Vim

#128

Earlier quoted context omitted.

Idea for someone looking for something to build, on my list but probably won't prioritize it for many years as I'll build it eventually but would welcome someone else building it. If anyone wants to work on this ping me and maybe I can help collaborate/mentor. Typing App for Engineers, MVP: * Load a canvas with a preloaded code snippet, the text is mostly greyed out * When typing your text shows over the greyed out t…

I was actually learning React around the time I was learning to touch type. So, naturally, my first project was to build a typing test[0] :) Looking back, I cringe at the code quality. But it worked and I had fun doing it. ¯\_(ツ)_/¯ I like the idea of typing out code though! I think there are some sites that do that, like https://typing.io/ [0] https://github.com/breyerjs/typequick

SWEET! Typing.io is perfect and almost* exactly what I was intending to build. Can even upload own samples, and it focuses on working code, no typos. I think I'll actually pay for this too!

* It doesn't seem to have the social/competition/gamification aspect built in like Vim Golf.

Re: Intermediate Vim

#129

Earlier quoted context omitted.

Idea for someone looking for something to build, on my list but probably won't prioritize it for many years as I'll build it eventually but would welcome someone else building it. If anyone wants to work on this ping me and maybe I can help collaborate/mentor. Typing App for Engineers, MVP: * Load a canvas with a preloaded code snippet, the text is mostly greyed out * When typing your text shows over the greyed out t…

I was actually learning React around the time I was learning to touch type. So, naturally, my first project was to build a typing test[0] :) Looking back, I cringe at the code quality. But it worked and I had fun doing it. ¯\_(ツ)_/¯ I like the idea of typing out code though! I think there are some sites that do that, like https://typing.io/ [0] https://github.com/breyerjs/typequick

Nice learning project. Can you add some instructions to the readme on how to get up and running locally?

Re: Intermediate Vim

#130
post #27

Earlier quoted context omitted.

Great article! The features you showed were some of the ones I've had my first "Oh, now I get why vim is so great"-moments and that really boost your productivity. > Tip: Generally after you’ve inserted some text, you want to return to command mode so that you’re ready to enter your next command. I’d recommend pressing esc any time you’ve finished typing. Totally agree with this. What really helped me with getting th…

Some of us even prefer mapping Capslock to both ESC and Control, as explained for example here (I'm not the author): https://www.dannyguo.com/blog/remap-caps-lock-to-escape-and-...

Wow. Thank you!
Post reply on HN