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

Filename Flip - 196 entries

Rearrange the MP3 filenames so that the identifier comes before the name.

  • Best score: 15
  • Best player score: 16
  • Position: #18 / 70
  • Number of attempts: 5
Even and Odd - 393 entries

separate the even numbers from the odd numbers

  • Best score: 13
  • Best player score: 14
  • Position: #33 / 101
  • Number of attempts: 2
Flip All Bits - 503 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: 24
  • Best player score: 42
  • Position: #74 / 144
  • Number of attempts: 1
From brakets to parens - 1356 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: 31
  • Position: #117 / 309
  • Number of attempts: 3
Create json from a .env file - 1773 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 58
  • Position: #188 / 431
  • Number of attempts: 3
vimgolfer
Github:

entered into 5 challenges

contributed 0 challenges