DEV Community

Jayesh
Jayesh

Posted on

Vim abbreviation

TIL:VIM's abbreviation command.

How to use?

:ab <string_match> <to_replace_with>

Use cases:

  • There are always some words and patterns which are too repitive and often asks for some shortcut. E.g: sout => System.out.println(). This is default configuration in Intellij.

  • Can be used as auto-correct. E.g: teh => the
    Ab gif

More to come at - Github

Top comments (0)