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

From brakets to parens - 1103 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: 25
  • Position: #34 / 241
  • Number of attempts: 9
Reordering properties - 1212 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: 40
  • Position: #46 / 277
  • Number of attempts: 7
YAML to dotenv - 1527 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 17
  • Position: #83 / 312
  • Number of attempts: 8
Remove adjacent duplicates - 684 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 20
  • Position: #38 / 171
  • Number of attempts: 6
Extract text from xml - 134 entries

Extract text from xml file (ignoring commented out elements) and create a one line regex.

  • Best score: 28
  • Best player score: 37
  • Position: #22 / 49
  • Number of attempts: 4
Jan Tesaƙ
Github:

entered into 5 challenges

contributed 0 challenges