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

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 51
  • Position: #84 / 97
  • Number of attempts: 1
delete swap - 1912 entries

delete all swap

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

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 12
  • Position: #229 / 567
  • Number of attempts: 3
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 86
  • Position: #704 / 726
  • Number of attempts: 2
Inverting Lines - 1961 entries

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

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

Simple challenge for frequent action while programming.

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

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

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

entered into 8 challenges

contributed 0 challenges