Me : *Standing alone at a corner in a party* Also Me : "They don't know I use vim"
Imagine having an editor so intuitive, that you have to watch a lecture in order to use it. Woah!
Learning vim on a chalkboard, the madman
Not my business but there's this lady that always comes late whenever I watch any of these lectures. Thanks for listening .. let me focus.
In the early 90s, I went to Northeastern U., just across the river from MIT. I took a similar class like this one. The lecturer was also a TA, however, I was taught to use Emacs and brainwashed to think that Emacs was the only thing (and Lisp) a programmer would need. I was too young to know about the Cold War between Vi and Emacs churches.
so they are sharing the sacred knowledge on how to exit vim... heretics
43:50 a prime example of how the most useful things are usually cloaked in an air of nonchalance, even in documentation.
dwi and cw have another difference: cw is a single change, and repeating it with dot (.) will repeat the deletion and the inserted change. While with dwi, the repetition will only repeat the inserted text.
Change in character is one command I've been wanting for a while! So happy this exists. I've been learning Vim on and off for the last week and that was one I didn't know about. I'm glad I watched this.
An entire lecture on VIM! You offended the entire Church Of EMACS!
Easily the best intro to vim I have ever seen
A really good intro to my favourite editor! I'm not a programmer, but I've used Vim for some 20 years. This is a comprehensive first dive.
I used vi alot in the 80's and 90's. Once you get the hang of it, you can move very fast through code. Viva la vi !
Ctrl-[ is mapped to escape by default in vim, which means no annoying rebinding of esc on your os (leaving capslock free to be mapped to ctrl, as G-d intended.)
Oh boy, this reminds me of Starcraft players having to learn the 'Core' hotkey layout. They learned the game using keys that corresponded to the first letter of the unit ('M' = Marine) until someone figured out that you could just group them all on the left side of the keyboard ('A' =Marine) for faster controls.
Even after I jump-shipped to Emacs, I still use the vi-emulation (a.k.a. evil-mode) because tbh, vi-style bindings has just become an intuition for editing code and text.
No matter for how long you use Vim there is something that you can always learn
Vim emulation with bindings in favorite IDEs is a really good thing. It's the best of both worlds, you have all the powerful abilities of Vim and the great tools of you IDE. I've been running like that for 2 years and it's great. I also recommend using vimium for chrome and firefox. It has a lot of powerful vim commands and makes your navigation smoother.
Instead of rebinding caps lock, you can also use C-[ instead of ESC. C-c works, too... sort of. There are some caveats with C-c and I wouldn't recommend using it. It breaks some plugins and might require some additional configuration to behave more similar to ESC.
@mayankmishra3875