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 - 33621 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: #3335 / 7422
  • 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 - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1870 / 3865
  • Number of attempts: 4
remove lines containing the word "reader" - 3586 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Position: #886 / 1162
  • Number of attempts: 2
Com(m)a Trouble - 3823 entries

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

  • Best score: 12
  • Best player score: 31
  • Position: #769 / 865
  • 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 - 2910 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #355 / 703
  • Number of attempts: 4
Copy three lines - 2872 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 / 640
  • Number of attempts: 6
Just the middle - 11457 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3826 / 4198
  • Number of attempts: 1
Basic renumbering - 5648 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Position: #601 / 1264
  • Number of attempts: 1
One to Ten - 2219 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 / 672
  • Number of attempts: 12
Increment each number - 1023 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Position: #19 / 248
  • 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 - 15989 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3333 / 4181
  • Number of attempts: 2
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3313 / 3964
  • Number of attempts: 1
Resort and deup a CSV list - 167 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: #36 / 43
  • Number of attempts: 1
Simple text editing with Vim - 12815 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 / 3696
  • Number of attempts: 2
ytrxc38754975
Twitter:

entered into 19 challenges

contributed 0 challenges