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 - 160 entries

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

  • Best score: 15
  • Best player score: 16
  • Position: #15 / 56
  • Number of attempts: 5
Even and Odd - 389 entries

separate the even numbers from the odd numbers

  • Best score: 13
  • Best player score: 14
  • Position: #32 / 100
  • Number of attempts: 2
Flip All Bits - 497 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: #73 / 143
  • Number of attempts: 1
From brakets to parens - 1349 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: #115 / 307
  • 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