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 - 32910 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 / 7271
  • Number of attempts: 10
One number per line - 18378 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2683 / 3788
  • Number of attempts: 4
Applying same text modification in several lines - 2751 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #483 / 815
  • Number of attempts: 4
Add semicolons - 10541 entries

Simply add a semicolon at the end of each line

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

easy stuff

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

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

  • Best score: 12
  • Best player score: 13
  • Position: #195 / 761
  • Number of attempts: 8
Just the middle - 11140 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2742 / 4113
  • Number of attempts: 1
Python challenge - 140 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: #27 / 41
  • Number of attempts: 5
Change part of a function name in multiple occurrences - 604 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 / 192
  • Number of attempts: 2
Put the months in order - 915 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 / 155
  • Number of attempts: 3
convert yml into java pojo field - 811 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: #106 / 216
  • Number of attempts: 4
Words in parens - 12736 entries

We should all ace this, right?

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

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

entered into 12 challenges

contributed 0 challenges