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

Simple, Practical, and Common - 24516 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
  • Number of attempts: 5
Cool or not? - 422 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Number of attempts: 1
One to Ten - 849 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
  • Number of attempts: 10
Words in parens - 10940 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 1
Just the middle - 9090 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 1
Copy three lines - 2002 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 6
Resort and deup a CSV list - 90 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
  • Number of attempts: 1
remove lines containing the word "reader" - 1457 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
I forgot quotes - 11591 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 2
Put the months in order - 403 entries

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

  • Best score: 23
  • Best player score: 36
  • Number of attempts: 7
Every other line - 2076 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 4
Basic renumbering - 4571 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 1
Com(m)a Trouble - 1623 entries

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

  • Best score: 12
  • Best player score: 31
  • Number of attempts: 2
Two pairs of cluster of letters creates word - 386 entries

Clean and group.

  • Best score: 17
  • Best player score: 17
  • Number of attempts: 10
Increment each number - 445 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 2
One number per line - 12474 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 4
royaso
Twitter:

entered into 16 challenges

contributed 0 challenges