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 - 1182 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: #16 / 259
  • Number of attempts: 10
π - 303 entries

1200 π chars

  • Best score: 16
  • Best player score: 16
  • Position: #9 / 74
  • Number of attempts: 6
Create json from a .env file - 1607 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 39
  • Position: #24 / 390
  • Number of attempts: 21
Reordering properties - 1274 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 / 285
  • Number of attempts: 14
Change class fields from camel case to snake case - 630 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 26
  • Position: #96 / 144
  • Number of attempts: 17
JoshHughes156
Github:

entered into 5 challenges

contributed 0 challenges