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 - 33571 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 / 7405
  • Number of attempts: 10
One number per line - 18709 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2732 / 3856
  • Number of attempts: 4
Applying same text modification in several lines - 2865 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #507 / 846
  • Number of attempts: 4
Add semicolons - 10845 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #350 / 3060
  • Number of attempts: 4
remove lines containing the word "reader" - 3574 entries

easy stuff

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

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

  • Best score: 12
  • Best player score: 13
  • Position: #222 / 855
  • Number of attempts: 8
Just the middle - 11423 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2770 / 4185
  • Number of attempts: 1
Python challenge - 172 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: #32 / 46
  • Number of attempts: 5
Change part of a function name in multiple occurrences - 661 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 / 207
  • Number of attempts: 2
Put the months in order - 973 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: #47 / 162
  • Number of attempts: 3
convert yml into java pojo field - 857 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: #111 / 227
  • Number of attempts: 4
Words in parens - 12928 entries

We should all ace this, right?

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

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

entered into 12 challenges

contributed 0 challenges