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

Fix the shell script! - 2399 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 31
  • Position: #250 / 556
  • Number of attempts: 7
Put a newline after every 10 lines in vim - 1628 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 13
  • Position: #328 / 542
  • Number of attempts: 2
hello-world-vimgolf - 2411 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #171 / 686
  • Number of attempts: 6
Inverting Lines - 1866 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #155 / 504
  • Number of attempts: 6
swap number pairs - 2022 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 30
  • Position: #236 / 373
  • Number of attempts: 5
Rural Post - 4410 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #445 / 1083
  • Number of attempts: 5
NicolasWebDev
Twitter:

entered into 6 challenges

contributed 0 challenges