Lecture 3: Editors (vim) (2020)

preview_player
Показать описание

Help us caption & translate this video!

Рекомендации по теме
Комментарии
Автор

I started using Vim about 4 years ago. I exited today. Thank you, MIT.

mayankmishra
Автор

Me : **Standing alone at a corner in a party**
Also Me : "They don't know I use vim"

mnnptl
Автор

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.

treeislife
Автор

Learning vim on a chalkboard, the madman

Arkanjl
Автор

so they are sharing the sacred knowledge on how to exit vim... heretics

lanavasilieva
Автор

43:50 a prime example of how the most useful things are usually cloaked in an air of nonchalance, even in documentation.

BantuTu
Автор

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.

bew
Автор

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.)

whiskeytuesday
Автор

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.

tvguideondemand
Автор

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.

ianpan
Автор

Imagine having an editor so intuitive, that you have to watch a lecture in order to use it. Woah!

deadmoroz
Автор

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.

Trazynn
Автор

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 !

lenpalmeri
Автор

vim is that text editor you still learn new stuff over the years and improve, even organically by deducting stuff. Macros, the dot command, :!% command and finally :norm are the ones that got me convinced to use it for everything.

lucianodsb
Автор

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.

giant
Автор

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.

JohnDegen_aka_Jeehannes
Автор

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.

Yotanido
Автор

*An entire lecture on VIM! You offended the entire Church Of EMACS!*

l_l
Автор

Back in the late 90s, the combo of vim plus an identifier lookup (like ctags) worked pretty well.

StephenMarkTurner
Автор

Easily the best intro to vim I have ever seen

dmsalomon