350 words
2 minutes

Vim Basics

After starting to use mechanical keyboards regularly, I guess as a programmer my obvious destination was this. So, here we are. We are going to learn Vim. and be that Senior engineer who is too intimidating with his awesomeness to be approached.

For now, I am going to stick with my default editor(Zed) which has a really good Vim mode. Once I am good with it maybe I will try NeoVim or something like that.

Do I have any experience with Vim? No absolutely not. The Only time Used a Vim editor is when I have to edit the commit message in git. But other than I have never used Vim, even with git I only know what keys to push to enter the edit mode. I never really understood where, or what screen I was typing this message in. Well, such is the nature of a self-taught developer. Sometimes you miss some of the basics.

Modes#

The first and most important concept to understand when working with Vim is that it is not your regular text editor(No shit). It’s a modal editor. What does that mean? Well in a normal text editor, you are allowed to edit text, visually select text, cut, copy paste, etc. all in the default mode of the editor. you can easily do that simply because a mouse aids in your navigation across the document you’re editing. However, back in the day when there were no mice. you had to navigate the file and dish out commands all with your trusty keyboard. and there are only so many keys one can have on their keyboard. Thus Modal editing to save the day. We have four modes in VIm.

  1. Normal Mode: The default mode in which the editor loads. You use this mode to navigate the file.
  2. Insert Mode: as the name suggests, if you need to insert any new text in the document you enter the insert mode.
  3. Visual mode: This mode is used to visually select text.
  4. Command mode: Where you enter commands to save, quit, etc.

This is just my basic understanding of VIM modes for now. I might revisit this later.

Vim Basics
https://scribblingsofaseeker.com/garden/vim-basics/
Author
Ganesh Umashankar
Published at
2026-05-11
License
CC BY-NC-SA 4.0