Two things that helped me more than anything with "learning" vim and or ever wanting to use it: 1. Remap your "capslock" key to "escape." Vi was written using an ADM-3A terminal and its keyboard, which you can see here: https://catonmat.net/why-vim-uses-hjkl-as-arrow-keys has the escape-key in a sane place. On modern keyboards, if you can, remap "capslock" to "escape" when pressed alone, and "ctrl" when pressed with…
When I was first learning Vim I remapped caps lock to escape, and it was a huge improvement. But as I became more comfortable in Vim I realized I was using the control key a lot. I've since remapped caps lock to control, and use ctrl-[ as escape (this is default behavior). I find having an easily accesible control key is very useful, even outside Vim. You can see in your link that it is actually the control key that…
Learn Vim (the Smart Way): a book to learn the good parts of Vim
51–60 of 134 posts
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#52Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#53Earlier quoted context omitted.
That game is a labor of love by someone - I spent weeks playing it. So much fun solving puzzles and learning at the same time. If I had a criticism is that I'm not sure much has stuck with me. I still use the same 10-15 commands and all the obscure tricks it taught me are gone. Its worth the money just for the fun alone. Great to mess with on a laptop when you're on a plane.
the biggest problem is you buy the game for $25 and it only lasts 6 months, that seems a bit crap, doesn't really make sense to me to sell it as a limited time license, which is why I never bought it. But then I'm not exactly the target audience, I already know Vim, but I did enjoy the intro levels when I tried it a while back.
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#54Earlier quoted context omitted.
When I was first learning Vim I remapped caps lock to escape, and it was a huge improvement. But as I became more comfortable in Vim I realized I was using the control key a lot. I've since remapped caps lock to control, and use ctrl-[ as escape (this is default behavior). I find having an easily accesible control key is very useful, even outside Vim. You can see in your link that it is actually the control key that…
On Linux and Mac it’s possible to have caps be escape when pressed alone or control when pressed with another key. On Linux the software is called xcape. :)
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#55It just reminds me of serious men with beards working on mainframes and AIX power systems when I started my career.
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#56I'm not trying to be contrarian here, but why would someone continue to use Vim and Emacs when all of its lovely features have been integrated into products like VCode? It just reminds me of serious men with beards working on mainframes and AIX power systems when I started my career.
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#57Earlier quoted context omitted.
I guess you mean you use them to insert ,s and ;s. But the leader key would not be for insert mode, so you can choose anything convenient.
No, I use them with the f and F keys. They repeat the previous character search in forward and backward directions.
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#58I'm not trying to be contrarian here, but why would someone continue to use Vim and Emacs when all of its lovely features have been integrated into products like VCode? It just reminds me of serious men with beards working on mainframes and AIX power systems when I started my career.
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#59I'm not trying to be contrarian here, but why would someone continue to use Vim and Emacs when all of its lovely features have been integrated into products like VCode? It just reminds me of serious men with beards working on mainframes and AIX power systems when I started my career.
Another reason is that I really enjoy that vim runs in my terminal. I can easily toggle in and out of vim while doing heavy terminal work, and if I want to rapidly open and close different files while looking around for things vim makes it simple.
There might be an aesthetic or comfort aspect to it, but most tools don't stay as relevant as vim has for mere style points.
Re: Learn Vim (the Smart Way): a book to learn the good parts of Vim
#60I'm not trying to be contrarian here, but why would someone continue to use Vim and Emacs when all of its lovely features have been integrated into products like VCode? It just reminds me of serious men with beards working on mainframes and AIX power systems when I started my career.
Can you please provide examples (or a link) that shows Vim integrated into VSCode?