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 - 730 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: #217 / 227
  • Number of attempts: 1
prepend * to every non-blank line - 6380 entries

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

  • Best score: 10
  • Best player score: 18
  • Position: #1165 / 1557
  • Number of attempts: 1
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2779 / 3893
  • Number of attempts: 7
Aliases for cd - 908 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: #129 / 158
  • Number of attempts: 1
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 13
  • Position: #2023 / 3087
  • Number of attempts: 2
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Position: #1097 / 1895
  • 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