Vim is a command-line text editor. Vim is entirely controlled with keyboard input, so it requires some time to get used to, but doing so will give you some hair on your chest.
Vim knows two important modes, the command-mode and the input-mode. The first one is used to enter commands. The second one is used to edit the opened file. To get you started some basic vim actions have been described below.
Opening a file using vim: vim fileyouwanttoedit.cfg
i
key on your keyboard.ESC
key on your keyboard.ESC
key:q!
ENTER
keyESC
key:wq!
or :x!
ENTER
keyESC
key:w!
ENTER
key