Using VIM Effectively
Get motivated to use VIM seeing visual examples
If you are coming from my earlier article about how to effectively navigate in Vim, welcome again, or else, I am so glad you are spending some of your valuable time to learn this indispensable knowledge that Vim provides.
In case you care to go through the previous article, here it is:
It’s time to Navigate effectively in Vim, a visual article
I have been using vim from early days of my career. I use it everywhere, from terminal, to IDEs and even browsers. As…
In this post let’s discuss editing in vim.
Disclaimer: This post is not an exhaustive list of all the tricks of Vim, because it is impossible to capture all of them. This post is a repository of the most used ones with helpful gifs. The idea is to comeback again and quickly recall the tricks.
Understanding the VIM commands
All Vim commands can be thought of having distinct parts. Namingly:
For example :
or another example:
When remembering these commands, if we remember this way and keep on using these commands everyday, in sometime they become muscle memory and we just use them without thinking.
Some extremely productive Vim user correctly said:
I don’t talk Vim’s language, Vim talks my language.
When it comes to editing, we have to discuss how we do go into insert mode in order to edit our document.
Everyone know, we press i to go in to insert mode. Now once there we have the dilemma where to start or where do we insert. Let’s see: