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

Rural Post - 4602 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Position: #2 / 1124
  • Number of attempts: 2
Satisfy the go linter - 2487 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 20
  • Position: #63 / 496
  • Number of attempts: 5
Simple, Practical, and Common - 34012 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: #2249 / 7513
  • Number of attempts: 8
prepend * to every non-blank line - 6395 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #301 / 1562
  • Number of attempts: 7
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #485 / 3904
  • Number of attempts: 12
Applying same text modification in several lines - 2931 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #103 / 867
  • Number of attempts: 5
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #642 / 3098
  • Number of attempts: 4
remove lines containing the word "reader" - 3652 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #87 / 1185
  • Number of attempts: 3
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #963 / 1901
  • Number of attempts: 5
Delete to the end of the current line - 882 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #55 / 418
  • Number of attempts: 3
Put the months in order - 1001 entries

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

  • Best score: 20
  • Best player score: 37
  • Position: #75 / 168
  • Number of attempts: 1
Array transposition - 2481 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 39
  • Position: #411 / 461
  • Number of attempts: 4
-a-b-c- - 3241 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #294 / 1146
  • Number of attempts: 3
Simple text editing with Vim - 13626 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #564 / 3902
  • Number of attempts: 6
Sébastien Roccaserra
Twitter:

Consultant & Software Crafter at @OCTOTechnology, father, musician, failed magician

entered into 14 challenges

contributed 0 challenges