Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

Reorder the groups - 976 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 2
Add semicolons - 9364 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
Search and Replace 0 - 4479 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 4
Swap values inside brackets - 2322 entries

Easy challenge.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 2
Words in parens - 12379 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
I forgot quotes - 15149 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 1
Simple text editing with Vim - 11200 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 2
Vice versa - 7165 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 2
Simple, Practical, and Common - 31762 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 29
  • Number of attempts: 1
One to Ten - 1901 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 1
ciela
Twitter:

おはよう

entered into 10 challenges

contributed 0 challenges