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

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 20
  • Position: #28 / 97
  • Number of attempts: 11
Delete the last function argument in python. - 296 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #57 / 113
  • Number of attempts: 4
Flip All Bits - 206 entries

Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.

  • Best score: 26
  • Best player score: 56
  • Position: #58 / 72
  • Number of attempts: 1
From brakets to parens - 1181 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: 34
  • Position: #111 / 258
  • Number of attempts: 5
Reordering properties - 1275 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 44
  • Position: #63 / 286
  • Number of attempts: 11
CaN yOuR ViM dO ThAt? #2 - 105 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

  • Best score: 49
  • Best player score: 80
  • Position: #23 / 27
  • Number of attempts: 5
CaN yOuR ViM dO ThAt? #1 - 288 entries

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

  • Best score: 41
  • Best player score: 47
  • Position: #81 / 112
  • Number of attempts: 4
Шамиль Рахимов
Github:

entered into 7 challenges

contributed 0 challenges