0

Vim😪😪

I need a comprehensive but self explanatory guide to vim, can anyone help?🙏

19th Sep 2024, 1:15 PM
Oguamanam Munachimso
Oguamanam Munachimso - avatar
5 Respuestas
+ 2
The hardest part of learning Vim is that it operates in two modes. Command Mode and Edit Mode. Edit mode is when you are able to write text on your screen - normal stuff. But if you hit ESC, you go into Command Mode. At that point all the various keystroke commands become available to you. There are number of those. Some of those commands put you back into edit mode. There are commands (keystrokes) to go into INSERT, APPEND, DELETE, or to OPEN, CLOSE, SAVE, QUIT, etc. The number and type of commands are extensive. But there are only a few required for you to use Vim successfully. It's just a little tricky to get used to knowing when you are in Command Mode or Edit Mode. In EDIT mode, you only need to know that ESC key puts you into command mode. In Command Mode - you have to learn how to move up, move down, page up, page down, insert, append, delete letter, delete word, search, save, quit without saving, etc. For that it's a great idea to use a Vim cheat sheet until you learn the most common commands. You can print out something like this: https://www.stat.uchicago.edu/intranet/computing/ref/vim-cheatsheet.pdf Then highlight the most frequently used ones and learn those first. Again, it can take a little while to get used to it. But with any editor, memorizing the keystrokes to use it can take a bit. Emacs is a popular editor that I've never learned myself. The challenge with Emacs is that it involves an entirely different set of keys to memorize and I already know Vim.
19th Sep 2024, 8:24 PM
Jerry Hobby
Jerry Hobby - avatar
+ 3
There are a million Vim tutorials all over the internet. Not sure what you want exactly. https://github.com/iggredible/Learn-Vim This page has a guide you can browse through. Me personally, I learned Vim in one day by forcing myself to use it all day long. It was super annoying at first, but after a bit it became second nature.
19th Sep 2024, 1:29 PM
Jerry Hobby
Jerry Hobby - avatar
+ 2
first lesson: you don't need to restart your computer to exit vim editor; it uses "mode"s.... quit without saving: if you don't know which mode is activated: - escape - :q! <enter> quit with saving: if you don't know which mode is activated: - escape - :wq! <enter>
19th Sep 2024, 8:10 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
Wow! That's really impressive. I just want to be able to use it efficiently for my projects. And for node also...
19th Sep 2024, 6:33 PM
Oguamanam Munachimso
Oguamanam Munachimso - avatar
0
Thanks alot for these Jerry... I'll check it out and start learning.🙏
19th Sep 2024, 8:35 PM
Oguamanam Munachimso
Oguamanam Munachimso - avatar