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

Capitalize the Names - 412 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 29
  • Position: #64 / 98
  • Number of attempts: 1
Simple, Practical, and Common - 33866 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: 25
  • Position: #3357 / 7474
  • Number of attempts: 5
Hogwarts Email Sorting - 944 entries

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

  • Best score: 20
  • Best player score: 21
  • Position: #97 / 267
  • Number of attempts: 3
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1876 / 3889
  • Number of attempts: 4
remove lines containing the word "reader" - 3622 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #899 / 1177
  • Number of attempts: 2
Com(m)a Trouble - 3941 entries

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

  • Best score: 12
  • Best player score: 31
  • Position: #793 / 892
  • Number of attempts: 2
Cool or not? - 842 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Position: #170 / 233
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 751 entries

Clean and group.

  • Best score: 17
  • Best player score: 17
  • Position: #15 / 179
  • Number of attempts: 10
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #357 / 707
  • Number of attempts: 4
Copy three lines - 2882 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 13
  • Position: #120 / 642
  • Number of attempts: 6
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3850 / 4230
  • Number of attempts: 1
Basic renumbering - 5699 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #607 / 1273
  • Number of attempts: 1
One to Ten - 2241 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 12
  • Position: #84 / 682
  • Number of attempts: 12
Increment each number - 1043 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Position: #19 / 255
  • Number of attempts: 2
Put the months in order - 979 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 36
  • Position: #70 / 165
  • Number of attempts: 7
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3348 / 4202
  • Number of attempts: 2
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3323 / 3977
  • Number of attempts: 1
Resort and deup a CSV list - 170 entries

I'm always adding items to a sorted list. There has to be a better way dedup and resort the lists. There are multiple lists with varying lengths to discourage manual sorting. Also Australia's animals are weird.

  • Best score: 44
  • Best player score: 70
  • Position: #37 / 44
  • Number of attempts: 1
Simple text editing with Vim - 13262 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #654 / 3810
  • Number of attempts: 2
ytrxc38754975
Twitter:

entered into 19 challenges

contributed 0 challenges