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

xrandr outputs and dashes - 731 entries

uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!

  • Best score: 12
  • Best player score: 26
  • Position: #218 / 228
  • Number of attempts: 1
prepend * to every non-blank line - 6392 entries

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

  • Best score: 10
  • Best player score: 18
  • Position: #1169 / 1561
  • Number of attempts: 1
One number per line - 18896 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2785 / 3902
  • Number of attempts: 7
Aliases for cd - 909 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 62
  • Position: #130 / 159
  • Number of attempts: 1
Add semicolons - 10955 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #2032 / 3098
  • Number of attempts: 2
Box it - 8002 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Position: #1099 / 1900
  • Number of attempts: 3
Marian Minar (jr.)
Twitter:

I help high school students discover and learn mathematics, science and technology.

entered into 6 challenges

contributed 0 challenges