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

Paste a column after a column - 2672 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 7
  • Best player score: 18
  • Position: #256 / 580
  • Number of attempts: 7
delete swap - 1918 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #195 / 583
  • Number of attempts: 4
Simple, Practical, and Common - 34031 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: 24
  • Position: #2943 / 7520
  • Number of attempts: 7
Hogwarts Email Sorting - 954 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 22
  • Position: #130 / 272
  • Number of attempts: 4
Swap values - 4704 entries

Well, swap the values...

  • Best score: 6
  • Best player score: 11
  • Position: #137 / 1294
  • Number of attempts: 10
One number per line - 18907 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #165 / 3907
  • Number of attempts: 9
Aliases for cd - 913 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 43
  • Position: #67 / 160
  • Number of attempts: 4
Add semicolons - 10966 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1269 / 3100
  • Number of attempts: 4
Com(m)a Trouble - 3992 entries

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

  • Best score: 7
  • Best player score: 12
  • Position: #93 / 910
  • Number of attempts: 8
Search and Replace 0 - 5170 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 7
  • Best player score: 12
  • Position: #636 / 1680
  • Number of attempts: 5
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2380 / 4262
  • Number of attempts: 3
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 7
  • Best player score: 14
  • Position: #675 / 1200
  • Number of attempts: 1
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2197 / 4229
  • Number of attempts: 5
Sushrut Shirole
Twitter:

entered into 13 challenges

contributed 0 challenges