Vim Tricks I used before

Increment lines (v_g_CTRL-A)

Imagine you have a list of 200 lines, with each line containing a number. And for some reason you have to increment the number in each line. So you select all the lines v (visual mode), and then run g C-A. This will magically increment them!

Impressum

2024 © Jonas Steinbach