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

Python: Def to Lambda - 474 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #89 / 158
  • Number of attempts: 3
Simple, Practical, and Common - 33964 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: 22
  • Position: #2399 / 7500
  • Number of attempts: 9
prepend * to every non-blank line - 6388 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #1107 / 1559
  • Number of attempts: 1
V to the i - 4853 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1506 / 1909
  • Number of attempts: 4
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1785 / 3091
  • Number of attempts: 2
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #988 / 1897
  • Number of attempts: 3
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3210 / 4240
  • Number of attempts: 1
Vice versa - 7997 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #623 / 2152
  • Number of attempts: 5
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2760 / 4216
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1610 / 3711
  • Number of attempts: 3
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #1014 / 1758
  • Number of attempts: 1
Guru Senthil
Twitter2:

entered into 11 challenges

contributed 0 challenges