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 - 460 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #89 / 157
  • Number of attempts: 3
Simple, Practical, and Common - 33757 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 / 7450
  • Number of attempts: 9
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #1101 / 1551
  • Number of attempts: 1
V to the i - 4824 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1501 / 1899
  • Number of attempts: 4
Add semicolons - 10891 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1777 / 3077
  • Number of attempts: 2
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #983 / 1885
  • Number of attempts: 3
Just the middle - 11500 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3202 / 4216
  • Number of attempts: 1
Vice versa - 7968 entries

Little role switching.

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

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2747 / 4194
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

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

how fast can you switch two variable ?

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

entered into 11 challenges

contributed 0 challenges