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 - 408 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 / 97
  • Number of attempts: 1
Simple, Practical, and Common - 33724 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: #3345 / 7442
  • Number of attempts: 5
Hogwarts Email Sorting - 928 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1871 / 3870
  • Number of attempts: 4
remove lines containing the word "reader" - 3604 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #892 / 1169
  • Number of attempts: 2
Com(m)a Trouble - 3875 entries

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

  • Best score: 12
  • Best player score: 31
  • Position: #778 / 876
  • Number of attempts: 2
Cool or not? - 829 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Position: #168 / 230
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 749 entries

Clean and group.

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

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #356 / 704
  • Number of attempts: 4
Copy three lines - 2875 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 / 641
  • Number of attempts: 6
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3835 / 4209
  • Number of attempts: 1
Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #604 / 1269
  • Number of attempts: 1
One to Ten - 2227 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 / 677
  • Number of attempts: 12
Increment each number - 1025 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Position: #19 / 249
  • Number of attempts: 2
Put the months in order - 974 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 / 163
  • Number of attempts: 7
I forgot quotes - 16022 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3340 / 4189
  • Number of attempts: 2
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3318 / 3969
  • 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 - 12989 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 / 3737
  • Number of attempts: 2
ytrxc38754975
Twitter:

entered into 19 challenges

contributed 0 challenges