Phonons

Photography & Music, Science & Code

Weekly Vim Focus: Week 2

with 3 comments

Week 1 of my vim productivity boosting experiment went well. During the week most of the commands I aimed for ended up being used often.
I got a lot of helpful comments, both here and on Hacker News. I ended up unmapping my arrow keys, and I do feel like this made a difference, I am now comfortable with those keys. As a bonus, it feels a lot more natural using hjkl in compound movement commands than it did with the arrow keys.

This week I will focus on repeating previously issued commands. Since 4 at a time worked well for me last time, I will stick to that number.

  • . repeats the last edit
  • gv marks the previous visual mark
  • & repeats a substitution
  • @: repeats a command

For next week I will go through the comments and pick the ones I found most useful in there.

Written by Thomas

21.02.2012 at 12:22

3 Responses

Subscribe to comments with RSS.

  1. For your first one the . repeats the last *edit* is more accurate, you can use it to delete or change as well as insert.

    Rocky

    21.02.2012 at 15:00

  2. […] has been a while since the last posts from this series, so the title weekly doesn’t really apply. The previous 2 bite-sized […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s