:set nu / whatever you want to find [return] i *edit stuff and use arrow keys for nav* :wq Or :q to quit without saving That’s all the vim most people need. The fact that less is installed on many more systems than nano is a testament to the bad assumptions too many devs make about who will be using these systems in the future. And yes, it’s not hard to "apt -y install nano" except at work where we have proxies and i…
now I need to use vim to reconfigure apt sources just so I can use a more normal editor Prepare and paste this into your terminal: echo "another line" | sudo tee -a /etc/apt/sources.list Sorry for your pain, but choosing hard ways is a person’s business.
Show HN: I built an interactive course that helps you learn Vim faster
191–200 of 265 posts
Re: Show HN: I built an interactive course that helps you learn Vim faster
#192:set nu / whatever you want to find [return] i *edit stuff and use arrow keys for nav* :wq Or :q to quit without saving That’s all the vim most people need. The fact that less is installed on many more systems than nano is a testament to the bad assumptions too many devs make about who will be using these systems in the future. And yes, it’s not hard to "apt -y install nano" except at work where we have proxies and i…
My problem is I can't use the up/down arrows for nav while editing stuff, it just starts spewing control characters on new lines IIRC.
Re: Show HN: I built an interactive course that helps you learn Vim faster
#193So, did it help you finally learn Vim?!
It would be difficult for a lot of people to say they've fully learned vim though, since it has a lot of things to discover. Many people who've been using vim for years still find out new tricks. This aspect of vim is appealing, in a way.
Re: Show HN: I built an interactive course that helps you learn Vim faster
#194Learning to remap escape to Caps Lock or to jk or what the Ctrl combination are to switch to normal mode should be the first lesson of all vim courses. This was the biggest cognitive discrepancy for me as a vim beginner : What did you use your smarts to create a modal editor while choosing the worst key ever to switch modes!?
I believe when vi was originally created, the Esc key was often placed to the left of Q, where the Tab key is now located on QWERTY layouts.
Re: Show HN: I built an interactive course that helps you learn Vim faster
#195Besides that once you learn that you enter edit mode by pressing i - ESC to exit it. :w to save, :q to quit and :q! to force quit / quit without saving. Then you can get by just fine.
You can of course do magic with vim, but that's more in the tinkerer territory~
Re: Show HN: I built an interactive course that helps you learn Vim faster
#196Earlier quoted context omitted.
Hi, I understand where you're coming from. My introduction to vim was through vimtutor and it was free! I agree with your point about muscle memory. Learning !== muscle memory. However it does make it more comfortable to edit code by not having to expend energy remembering the vim command to do something (since you can just focus on editing code). Practicing new vim commands in the interactive editor has helped me us…
Agreed with your comments on muscle memory and very cool project overall. An issue keeping me from wanting to use this: holding down the directional keys doesn't move the cursor multiple times - it's one keypress per movement. In the desktop environment, one can hold 'j' to go down, and since there is so much vertical movement, it's important that that's replicated.
Can you let me know which browser and OS you're using? This seems like an important bug, thank you.
Re: Show HN: I built an interactive course that helps you learn Vim faster
#197Earlier quoted context omitted.
> why can't I hit right at the end of a line, and move to the next line? I know this is probably something that sounds like someone too far down the rabbit-hole to see where they came from, but I'm not sure why you'd want to do that. The horizontal movement is probably adjacent to the vertical movement on your keyboard. Just use the appropriate movement to get where you want to go? > Also, why do I have to have a spe…
My answer to all these things is that 90% of the time, I am not using a text editor. I will be writing in Word, or in LyX, or in RStudio, or in a text box. My muscle memory is used to that. You're absolutely right. You do sound far down the rabbit hole! I am used to being able to hold down the right key and traverse my entire document, as far as I like. Why would I want to stop at the end of a line? Any time I'm edit…
Re: Show HN: I built an interactive course that helps you learn Vim faster
#198Learning to remap escape to Caps Lock or to jk or what the Ctrl combination are to switch to normal mode should be the first lesson of all vim courses. This was the biggest cognitive discrepancy for me as a vim beginner : What did you use your smarts to create a modal editor while choosing the worst key ever to switch modes!?
> What did you use your smarts to create a modal editor while choosing the worst key ever to switch modes!? I believe when vi was originally created, the Esc key was often placed to the left of Q, where the Tab key is now located on QWERTY layouts.
Re: Show HN: I built an interactive course that helps you learn Vim faster
#199I once tried to migrate from VS Code to Neovim. I use TypeScript at work, and use many languages for my side projects. But the worst part was making Vim provide with things that you'd expect programming editors to have. So many options, what's best is up to opinion, integrating language servers, getting intellisense to work as you would expect, searching the project folder for file names. Then I realized that all I'm…
Re: Show HN: I built an interactive course that helps you learn Vim faster
#200I once tried to migrate from VS Code to Neovim. I use TypeScript at work, and use many languages for my side projects. But the worst part was making Vim provide with things that you'd expect programming editors to have. So many options, what's best is up to opinion, integrating language servers, getting intellisense to work as you would expect, searching the project folder for file names. Then I realized that all I'm…
I tried hard to convert from my IDE to vim. I write PHP and rely heavily on for example EA inspections, there is no way to get these in vim. You can do some analysis with either psalm or phpstan, I forget, but in any case that was a show stopper for me.