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

Swap function parameters and delete all comments in python.

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

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #85 / 221
  • Number of attempts: 4
From brakets to parens - 1290 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: #286 / 290
  • Number of attempts: 1
π - 327 entries

1200 π chars

  • Best score: 16
  • Best player score: 1225
  • Position: #78 / 80
  • Number of attempts: 1
Changing date formats - 749 entries

Change the date format to Y/M/D.

  • Best score: 36
  • Best player score: 131
  • Position: #176 / 210
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 297 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: #102 / 118
  • Number of attempts: 1
Append leading hyphen count to each line - 148 entries

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

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

entered into 7 challenges

contributed 0 challenges