More VIM tips

More vim things I really should have known before today:

http://www.moolenaar.net/habits.html

The bits I really liked from those tips are:

Pressing the * command to find the next occurence of the word and then using cw to change that word. Then pressing n to find the next word and . to repeat the cw command!

Typing the beginning of a function/variable and then pressing CTRL+N to get an autocomplete menu.

Typing qa to record a macro to register "a" and then q to stop. Press @a to repeat the macro.

No votes yet

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

test

test

Post new comment

The content of this field is kept private and will not be shown publicly.