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

Simple, Practical, and Common - 32746 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: 22
  • Position: #1602 / 7235
  • Number of attempts: 10
One number per line - 18240 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2659 / 3760
  • Number of attempts: 4
Applying same text modification in several lines - 2699 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 15
  • Position: #472 / 803
  • Number of attempts: 4
Add semicolons - 10429 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #351 / 2954
  • Number of attempts: 4
remove lines containing the word "reader" - 3419 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #26 / 1108
  • Number of attempts: 4
Com(m)a Trouble - 3284 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #187 / 741
  • Number of attempts: 8
Just the middle - 11074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2733 / 4088
  • Number of attempts: 1
Python challenge - 128 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

  • Best score: 31
  • Best player score: 54
  • Position: #25 / 39
  • Number of attempts: 5
Change part of a function name in multiple occurrences - 590 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 14
  • Position: #8 / 188
  • Number of attempts: 2
Put the months in order - 911 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 31
  • Position: #43 / 154
  • Number of attempts: 3
convert yml into java pojo field - 800 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 30
  • Position: #104 / 212
  • Number of attempts: 4
Words in parens - 12678 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1668 / 3904
  • Number of attempts: 3
Nate
Twitter:

Business Director at Seattle-based seed-fund: https://t.co/bJDonmxWg2.

entered into 12 challenges

contributed 0 challenges