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

Fix the shell script! - 2596 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 67
  • Position: #556 / 603
  • Number of attempts: 1
Easy modification of ssh config - 382 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 67
  • Position: #106 / 115
  • Number of attempts: 1
Add quotes to ansible playbook - 1007 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 9
  • Position: #198 / 316
  • Number of attempts: 2
Multiline to Single Line - 735 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 16
  • Position: #308 / 311
  • Number of attempts: 1
Simple, Practical, and Common - 33742 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: 23
  • Position: #2821 / 7447
  • Number of attempts: 3
prepend * to every non-blank line - 6353 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #433 / 1549
  • Number of attempts: 1
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3472 / 3875
  • Number of attempts: 3
Com(m)a Trouble - 3880 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #345 / 878
  • Number of attempts: 5
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #2041 / 4192
  • Number of attempts: 2
Aayush Dutt
Twitter2:

Software Engineer | IIT ISM CSE '21

entered into 9 challenges

contributed 0 challenges