Vim Editor Commands Cheat-sheet – POFTUT

Vim Editor Commands Cheat-sheet

vim or vi is very powerful text editor used in Linux systems. As they provide a lot of features and used from command line they have a lot of commands and shortcuts. In this page we will list these commands as a cheat-sheet. We will look most used command and shortcuts in this tutorial which makes this guide as beginner guide.


Edit Current File


Edit Specific File

:edit text.txt


Append Text After Cursor


Append Test At The End Of Line


Insert Text Before Cursor


Insert Text Before  First Non-Blank In The Line


Begin New Line Below And Insert Text


Begin New Line Above And Insert Text



Delete Character Before Cursor


Delete Character After Cursor


Delete Current Line


Delete Multiple Lines From Current Line





Save As

:w deneme.txt




Save and Exit


Exit Without Saving Changes


LEARN MORE  Compare Vi vs Vim

1 thought on “Vim Editor Commands Cheat-sheet”

  1. Pingback: Vim commands cheat sheet | 0ddn1x: tricks with *nix

Leave a Comment