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

Sort and add attributes - 1082 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Number of attempts: 2
Reorder the groups - 232 entries

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

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 1
Vice versa - 5884 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 1
html paragraph to table - 330 entries

reformat html paragraph to table

  • Best score: 7
  • Best player score: 86
  • Number of attempts: 1
One number per line - 12466 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 4
Increment each number - 445 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 7
I forgot quotes - 11590 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 5
V to the i - 3872 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 8
multiple cursor alternative - 1045 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 31
  • Number of attempts: 1
Delete to the end of the current line - 423 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
Where should I put the Newline? - 796 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Box it - 2398 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Number of attempts: 6
Around the clock - 81 entries

You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Join 'em - 95 entries

This shouldn't be too tough

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Add semicolons - 753 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 3
remove lines containing the word "reader" - 1456 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 9
Swap values inside brackets - 1411 entries

Easy challenge.

  • Best score: 14
  • Best player score: 25
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 9440 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Flip the bit - 73 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 11
  • Number of attempts: 1
Swap values - 3483 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 5
deHman89
Twitter:

entered into 20 challenges

contributed 0 challenges