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

Swap function parameters and delete all comments in python. - 956 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 22
  • Position: #84 / 235
  • Number of attempts: 6
Delete the last function argument in python. - 649 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #93 / 233
  • Number of attempts: 2
YAML to dotenv - 1637 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 29
  • Position: #227 / 342
  • Number of attempts: 2
The Fibonacci Spacer - 174 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 14
  • Best player score: 77
  • Position: #45 / 53
  • Number of attempts: 1
Swap values - 4707 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #995 / 1294
  • Number of attempts: 2
Simple text editing with Vim - 13645 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2131 / 3907
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7694 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 15
  • Position: #6 / 1893
  • Number of attempts: 3
Laurent Van Eesbeeck
Github:

entered into 7 challenges

contributed 0 challenges