Weekly Vim Focus

I’m a long time user of vim, but sometimes I feel I have retained some bad habits¬†from when I first started using it, or that I am stagnating in my skills. Sure, I learn a new trick every now and then, but most of them I tend to forget again. So I am going to pick a few commands, and make an effort to stick to them consciously for a week. Hopefully. they will make it into my permanent repertoire¬†that way. Depending on how well this goes, I might make a series out of it.

Here’s what I am going for this week:

  • use c for change instead of deleting and then going to insert mode
  • use ctrl-O to jump to the previous location (I just found out this also works across buffers)
  • use ctrl-R to paste registers in insert mode
  • use hjkl instead of arrow keys for navigation. (this is a big one, tried it before, and failed. But it makes a lot of sense to keep the fingers on home row as much as possible. Might go as far as remapping the arrow keys to force myself to do this.)

Seems like a short enough list to be tractable. More to come next week if I find this approach to be helpful.