ABC of VIM
There seems to be a notion among uninformed beginners in programming that the VIM editor was born out of some sort of a relic and is used only by nerds who are fond of Unix. It is true to some extent. But relics are also classics that have a charm of their own which cannot be replicated. It is a privilege to learn them.
This course attempts to handhold you during your initial journey through Vim by introducing just a small and simple set of commands that will make you not only comfortable but also fairly productive when you start using Vim.
Sai Radhika Mangipudi: The 1st tutorial itself is sufficient to keep going on..for a week of practice. great explanation.
Andrew Magdy Kamal: Nicely Designed little course : Very well designed, the course is very detailed, and although the animations are a bit immature, the teaching styles isn’t. Overall would recommend.
Learn the basic and mandatory commands to start using Vim effectively
Commands in the above modes
Commands to navigate amongst files and to interact with the environment.
Getting started with Vim
Vim commands are predominantly keyboard based. Those who are used to using a graphical interface for program development may find it a little strange to adapt to this editor initially. It might seem to consume too much of your productive time. Still, in certain work areas like those involving C programming, knowledge of using VIM editor comes in quite handy in many many occasions.
This course hopes to help you start using the Vim editor without having to spend too much time figuring out how to accomplish the basic editing tasks.
Content and Overview
The course first introduces a small set of commands that are mandatory to edit and store a text file.
Then, it introduces a bunch of commands alphabet-wise. This approach is taken because, Vim is predominantly keyboard based, as mentioned earlier; so, all the alphabets are associated with some functionality. Once you gain the knowledge of these key-function mappings, then, you almost have the editor on your finger-tips, literally and figuratively.
Lastly, you will also be introduced to a small set of commands that will help you navigate through multiple files.
Once you are get familiar with these commands, then, it would become easy for you to follow the treasure trove of other awesome commands, configuration settings and vimrc changes in future.
This tiny course hopes to make your initial VIM experience as smooth as possible and annihilate or at least attenuate the frustration faced sometimes by the beginners of VIM.
Happy Vimming! 🙂
ABC of VIM
There are two more important commands i should have included in the list. Realized it after publishing the course.
:set ts=4 This sets tab spaces to 4 (or any number you wish)
:set expandtab (If you want those tabs to be expanded to space characters instead of tab character)
You could add these two commands without the preceeding semi-colon anywhere in _vimrc file, may be at the beginning of the file itself. Then, these rules will apply to all the files that you edit.