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! - 983 entries

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 13
  • Position: #220 / 330
  • Number of attempts: 2
hello-world-vimgolf - 1517 entries

Simple number generation

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

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

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

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

  • Best score: 16
  • Best player score: 30
  • Position: #177 / 283
  • Number of attempts: 5
Rural Post - 4105 entries

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

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

entered into 6 challenges

contributed 0 challenges