Fireship · @fireship
I tried 10 code editors
Uploaded July 21, 2022 · Length 10:28
Summary
The video compares and reviews 10 code editors, including vi, emacs, vim, neovim, nano, notepad++, and adobe dreamweaver, highlighting their features, pros, and cons.
- code editors
- text editors
- ide comparison
- vi vs emacs
- vim tutorial
- neovim review
- nano editor
- notepad plus plus
- adobe dreamweaver
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
at exactly 3 45 pm on september 9 1947
- 0:03
grace hopper discovered the first
- 0:05
official computer bug a real-life moth
- 0:07
that found its way onto the number 70
- 0:09
relay of the harvard mark ii aiken relay
- 0:12
calculator today computer programmers
- 0:14
create their own bugs but that wouldn't
- 0:15
be possible without the help of a modern
- 0:17
code editor i wanted to find out which
- 0:19
code editor is best in the 2020s so i
- 0:21
tried to write a basic program with 10
- 0:23
different text editors and ides we'll
- 0:25
look at everything from basic command
- 0:26
line editors to the most advanced
- 0:28
cloud-based integrated development
- 0:30
environments we'll talk about the pros
- 0:31
and cons of each option and look at how
- 0:33
these tools have evolved over the last
- 0:34
50 years think about this
- 0:37
things like undo find and replace copy
- 0:39
and paste are all commonplace but back
- 0:41
in the 1960s they were revolutionary new
- 0:44
features made possible by the computer
- 0:46
screen and visual terminal eventually
- 0:48
they would replace punch cards where one
- 0:49
wrong keystroke meant you had to start
- 0:51
over from scratch the first editor we'll
- 0:52
look at is vi which was written by bill
- 0:55
joy and released in 1976. it's still a
- 0:57
standard tool on most linux distros to
- 0:59
this day so to use it all you have to do
- 1:01
is type vi into the terminal what's most
- 1:03
interesting is that it's a keyboard
- 1:05
based editor the mouse doesn't do
- 1:06
anything useful that's because the mouse
- 1:08
didn't go mainstream until the apple
- 1:10
macintosh came out in 1984 january 24th
- 1:13
apple computer will introduce macintosh
- 1:17
and you'll see why 1984 won't be
- 1:20
like 1984. but do you really need a
- 1:23
mouse to code efficiently in vi if you
- 1:25
start typing nothing will happen
- 1:27
initially that's because to write some
- 1:28
text you'll need to enter insert mode by
- 1:31
hitting the i key vi is a modal editor
- 1:33
which means the keys on your keyboard do
- 1:35
different things based on the mode
- 1:36
you're currently in in insert mode we
- 1:38
can add some actual code to the document
- 1:40
then hit escape to go back to command
- 1:41
mode and use the right quick command to
- 1:43
save the file to the disk when you get
- 1:45
used to it it can actually be very fast
- 1:47
to edit code this way for example to
- 1:49
delete an entire line of code i can hit
- 1:50
double d or 3 d to delete three lines at
- 1:53
once without needing to highlight the
- 1:55
entire thing with my mouse the hard part
- 1:57
is memorizing all the tricks to get
- 1:58
things done efficiently vi is nice and


