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

Delete the last function argument in python. - 550 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 9
  • Position: #157 / 201
  • Number of attempts: 2
From brakets to parens - 1266 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 28
  • Position: #99 / 284
  • Number of attempts: 3
Swap columns and transform to CSV format - 474 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 19
  • Position: #109 / 171
  • Number of attempts: 2
Deleting text - 342 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #80 / 110
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 582 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 20
  • Position: #315 / 328
  • Number of attempts: 1
delete swap - 1884 entries

delete all swap

  • Best score: 5
  • Best player score: 7
  • Position: #440 / 578
  • Number of attempts: 1
Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 33
  • Position: #314 / 624
  • Number of attempts: 1
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 16
  • Position: #611 / 726
  • Number of attempts: 1
Plotting some variables in python - 1691 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 47
  • Position: #190 / 354
  • Number of attempts: 1
RedstoneRepeater
Github:

entered into 9 challenges

contributed 0 challenges