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

Simple, Practical, and Common - 34012 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 28
  • Position: #4506 / 7513
  • Number of attempts: 3
prepend * to every non-blank line - 6395 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 16
  • Position: #1026 / 1562
  • Number of attempts: 1
One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #612 / 3904
  • Number of attempts: 12
Add semicolons - 10956 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2704 / 3098
  • Number of attempts: 3
Box it - 8003 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Position: #1103 / 1901
  • Number of attempts: 7
Vice versa - 8019 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #535 / 2157
  • Number of attempts: 9
Words in parens - 13053 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3621 / 3991
  • Number of attempts: 3
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #598 / 1764
  • Number of attempts: 4
noremac
Twitter:

entered into 8 challenges

contributed 0 challenges