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 git merge conflicts - 310 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 109
  • Position: #83 / 87
  • Number of attempts: 1
Simple, Practical, and Common - 33910 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: 33
  • Position: #6307 / 7486
  • Number of attempts: 1
prepend * to every non-blank line - 6375 entries

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

  • Best score: 10
  • Best player score: 27
  • Position: #1494 / 1556
  • Number of attempts: 1
One number per line - 18834 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 28
  • Position: #3609 / 3892
  • Number of attempts: 1
V to the i - 4830 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 19
  • Position: #1896 / 1903
  • Number of attempts: 1
Add semicolons - 10918 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2377 / 3086
  • Number of attempts: 1
Box it - 7967 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 42
  • Position: #1751 / 1892
  • Number of attempts: 1
Just the middle - 11551 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 13
  • Position: #4139 / 4233
  • Number of attempts: 1
I forgot quotes - 16106 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3589 / 4206
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10718 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Position: #3496 / 3702
  • Number of attempts: 1
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 30
  • Position: #3898 / 3977
  • Number of attempts: 1
switch variable - 5100 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 48
  • Position: #1744 / 1755
  • Number of attempts: 1
Simple text editing with Vim - 13343 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 29
  • Position: #3489 / 3830
  • Number of attempts: 1
Omar D.
Github:

entered into 13 challenges

contributed 0 challenges