Fireship · @fireship

I tried 10 code editors

Uploaded July 21, 2022 · Length 10:28

I tried 10 code editors

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.

  1. 0:00

    at exactly 3 45 pm on september 9 1947

  2. 0:03

    grace hopper discovered the first

  3. 0:05

    official computer bug a real-life moth

  4. 0:07

    that found its way onto the number 70

  5. 0:09

    relay of the harvard mark ii aiken relay

  6. 0:12

    calculator today computer programmers

  7. 0:14

    create their own bugs but that wouldn't

  8. 0:15

    be possible without the help of a modern

  9. 0:17

    code editor i wanted to find out which

  10. 0:19

    code editor is best in the 2020s so i

  11. 0:21

    tried to write a basic program with 10

  12. 0:23

    different text editors and ides we'll

  13. 0:25

    look at everything from basic command

  14. 0:26

    line editors to the most advanced

  15. 0:28

    cloud-based integrated development

  16. 0:30

    environments we'll talk about the pros

  17. 0:31

    and cons of each option and look at how

  18. 0:33

    these tools have evolved over the last

  19. 0:34

    50 years think about this

  20. 0:37

    things like undo find and replace copy

  21. 0:39

    and paste are all commonplace but back

  22. 0:41

    in the 1960s they were revolutionary new

  23. 0:44

    features made possible by the computer

  24. 0:46

    screen and visual terminal eventually

  25. 0:48

    they would replace punch cards where one

  26. 0:49

    wrong keystroke meant you had to start

  27. 0:51

    over from scratch the first editor we'll

  28. 0:52

    look at is vi which was written by bill

  29. 0:55

    joy and released in 1976. it's still a

  30. 0:57

    standard tool on most linux distros to

  31. 0:59

    this day so to use it all you have to do

  32. 1:01

    is type vi into the terminal what's most

  33. 1:03

    interesting is that it's a keyboard

  34. 1:05

    based editor the mouse doesn't do

  35. 1:06

    anything useful that's because the mouse

  36. 1:08

    didn't go mainstream until the apple

  37. 1:10

    macintosh came out in 1984 january 24th

  38. 1:13

    apple computer will introduce macintosh

  39. 1:17

    and you'll see why 1984 won't be

  40. 1:20

    like 1984. but do you really need a

  41. 1:23

    mouse to code efficiently in vi if you

  42. 1:25

    start typing nothing will happen

  43. 1:27

    initially that's because to write some

  44. 1:28

    text you'll need to enter insert mode by

  45. 1:31

    hitting the i key vi is a modal editor

  46. 1:33

    which means the keys on your keyboard do

  47. 1:35

    different things based on the mode

  48. 1:36

    you're currently in in insert mode we

  49. 1:38

    can add some actual code to the document

  50. 1:40

    then hit escape to go back to command

  51. 1:41

    mode and use the right quick command to

  52. 1:43

    save the file to the disk when you get

  53. 1:45

    used to it it can actually be very fast

  54. 1:47

    to edit code this way for example to

  55. 1:49

    delete an entire line of code i can hit

  56. 1:50

    double d or 3 d to delete three lines at

  57. 1:53

    once without needing to highlight the

  58. 1:55

    entire thing with my mouse the hard part

  59. 1:57

    is memorizing all the tricks to get

  60. 1:58

    things done efficiently vi is nice and