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

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

  • Best score: 14
  • Best player score: 18
  • Position: #254 / 576
  • Number of attempts: 7
delete swap - 1834 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #195 / 570
  • Number of attempts: 4
Simple, Practical, and Common - 33930 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: #2935 / 7490
  • Number of attempts: 7
Hogwarts Email Sorting - 948 entries

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

  • Best score: 20
  • Best player score: 22
  • Position: #129 / 268
  • Number of attempts: 4
Swap values - 4670 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #136 / 1285
  • Number of attempts: 10
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #165 / 3893
  • Number of attempts: 9
Aliases for cd - 908 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 / 158
  • Number of attempts: 4
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1264 / 3087
  • Number of attempts: 4
Com(m)a Trouble - 3968 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #92 / 901
  • Number of attempts: 8
Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #635 / 1644
  • Number of attempts: 5
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2373 / 4234
  • Number of attempts: 3
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 14
  • Position: #669 / 1194
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

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

entered into 13 challenges

contributed 0 challenges