dev notes

software development craftsmanship

/ home [ / vim / plain / neo or not / configuration / outside vim ]

plain

You can find vim or at least vi on almost every unix like systems. It may be not installed by default, but can usually be installed very quickly.

Many system tools like less have a kind of vim navigation implemented. Other tools like the file manager ranger have vi key bindings.

Before we extend vim, let's take a look at some functionalities that are valid for all vim installations.

exit

First of all press ESC to get in command mode, enter :qa and you're out. It sounds a bit funny, but jokes about how to exit vim have been around for decades for a reason.

modes

The command mode let you execute command like undo, redo, find and so on. The insert mode let you enter text. When you are in visual mode you can select select text and do operations on the selection.

movement

You can use the arrow keys for movement, but I suggest, to use the vim navigation keys

It feels a little bit exhausting the fist time you do it, but when its getting into your mechanical brain, you won't want to miss it.

geting into insert mode

geting into command mode

Press ESC.

some commands

more

There are more commands to checkout. You can use the :h commmand pattern to find out more about every command available in vim.