VIM as a language

Have you ever thought, VIM can be interpreted as a language like any other language? YES, It can be. This post will explain, HOW?

Like any other speaking language, VIM has its verbs, modifiers, nouns etc. Let's look at each one of these and then try to build  a sentence out of them.

Verbs
Verbs are the actions we take, and they can be performed on nouns. Here are some examples:

  • d: delete
  • c: change
  • y: yank (copy)
  • v: visually select
Modifiers
Modifiers are used before nouns to describe the way in which you’re going to do something. Some examples:

  • i: inside
  • a: around
  • NUM: number (e.g.: 1, 2, 10)
  • t: searches for something and stops before it
  • f: searches for that thing and lands on it

Nouns
In English, nouns are objects you do something to. They are objects. With vim it’s the same. Here are some vim nouns:

  • w: word
  • s: sentence
  • ): sentence (another way of doing it)
  • p: paragraph
  • }: paragraph (another way of doing it)
  • t: tag (think HTML/XML)
  • b: block (think programming)
Building sentence

verbs, modifiers, and nouns e.g. d2w deletes 2 words 

Comments

  1. My best merit casino in Kenya, and where you can play at
    The first place to play your favorite 바카라사이트 game is in Pune. If you want to play your favorite game for free in a choegocasino casino, you can now enjoy online casino 메리트카지노총판

    ReplyDelete

Post a Comment

Popular posts from this blog

MBR partitioning with 'parted' utility

Replace default splash screen in Yocto

Disk Partitioning: MBR vs GPT