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. - 642 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 25
  • Position: #76 / 172
  • Number of attempts: 2
Delete the last function argument in python. - 482 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #85 / 175
  • Number of attempts: 4
From brakets to parens - 1249 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: 114
  • Position: #274 / 277
  • Number of attempts: 1
π - 321 entries

1200 π chars

  • Best score: 16
  • Best player score: 1225
  • Position: #77 / 79
  • Number of attempts: 1
Changing date formats - 725 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 131
  • Position: #172 / 204
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 292 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 51
  • Position: #100 / 115
  • Number of attempts: 1
Append leading hyphen count to each line - 141 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 50
  • Position: #36 / 40
  • Number of attempts: 2
Priyanshu Katuwal
Github:

entered into 7 challenges

contributed 0 challenges