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

Changing around text with citations - 192 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 51
  • Position: #53 / 58
  • Number of attempts: 1
delete swap - 983 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #71 / 322
  • Number of attempts: 1
Fix the shell script! - 1575 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 34
  • Position: #196 / 393
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1294 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #171 / 443
  • Number of attempts: 3
hello-world-vimgolf - 1906 entries

Simple number generation

  • Best score: 10
  • Best player score: 86
  • Position: #530 / 544
  • Number of attempts: 2
Inverting Lines - 1534 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #162 / 416
  • Number of attempts: 1
Making 3 line function a one liner. - 223 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #94 / 148
  • Number of attempts: 1
swap number pairs - 1838 entries

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

  • Best score: 16
  • Best player score: 23
  • Position: #152 / 340
  • Number of attempts: 2
Golfer
Twitter:

entered into 8 challenges

contributed 0 challenges