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

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 51
  • Position: #79 / 90
  • Number of attempts: 1
delete swap - 1648 entries

delete all swap

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

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 12
  • Position: #222 / 548
  • Number of attempts: 3
hello-world-vimgolf - 2472 entries

Simple number generation

  • Best score: 10
  • Best player score: 86
  • Position: #677 / 699
  • Number of attempts: 2
Inverting Lines - 1870 entries

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

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

Simple challenge for frequent action while programming.

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

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

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

entered into 8 challenges

contributed 0 challenges