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 - 311 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: #53 / 79
  • Number of attempts: 1
Simple, Practical, and Common - 32904 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: #3267 / 7270
  • Number of attempts: 5
Hogwarts Email Sorting - 828 entries

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

  • Best score: 20
  • Best player score: 21
  • Position: #89 / 237
  • Number of attempts: 3
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1836 / 3787
  • Number of attempts: 4
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #851 / 1121
  • Number of attempts: 2
Com(m)a Trouble - 3376 entries

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

  • Best score: 12
  • Best player score: 31
  • Position: #678 / 760
  • Number of attempts: 2
Cool or not? - 761 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Position: #157 / 216
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 710 entries

Clean and group.

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

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #347 / 686
  • Number of attempts: 4
Copy three lines - 2794 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 / 625
  • Number of attempts: 6
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3754 / 4112
  • Number of attempts: 1
Basic renumbering - 5430 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #576 / 1227
  • Number of attempts: 1
One to Ten - 2093 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 / 641
  • Number of attempts: 12
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Position: #19 / 233
  • Number of attempts: 2
Put the months in order - 915 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: #64 / 155
  • Number of attempts: 7
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3282 / 4114
  • Number of attempts: 2
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3275 / 3919
  • Number of attempts: 1
Resort and deup a CSV list - 135 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: #30 / 37
  • Number of attempts: 1
Simple text editing with Vim - 11624 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 / 3410
  • Number of attempts: 2
ytrxc38754975
Twitter:

entered into 19 challenges

contributed 0 challenges