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

Rearrange array to single level - 1425 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 20
  • Position: #64 / 233
  • Number of attempts: 5
Rearrange array to one line - 680 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 22
  • Position: #103 / 163
  • Number of attempts: 2
Copy punctuation - 536 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 39
  • Position: #75 / 137
  • Number of attempts: 2
Fix the shell script! - 2596 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 37
  • Position: #372 / 603
  • Number of attempts: 1
Com(m)a Trouble - 3880 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 28
  • Position: #748 / 878
  • Number of attempts: 2
Remember VimGolf Rules ! - 264 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 8
  • Position: #131 / 142
  • Number of attempts: 1
From A to B - 591 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 25
  • Position: #144 / 159
  • Number of attempts: 1
Draw the Go board - 149 entries

which is a 19×19 lines board. Here we use ascii characters only for simplicity. See diff file to get a sense. (See also http://en.wikipedia.org/wiki/Go_(game))

  • Best score: 50
  • Best player score: 70
  • Position: #29 / 51
  • Number of attempts: 3
Kevin Lou
Github:

entered into 8 challenges

contributed 0 challenges