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

Rural Post - 4547 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #291 / 1109
  • Number of attempts: 10
Simple, Practical, and Common - 33742 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: 22
  • Position: #1731 / 7447
  • Number of attempts: 8
Applying same text modification in several lines - 2897 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 14
  • Position: #374 / 857
  • Number of attempts: 2
Search and Replace 0 - 5004 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Position: #879 / 1630
  • Number of attempts: 5
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1982 / 4192
  • Number of attempts: 3
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #973 / 3969
  • Number of attempts: 2
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: 77
  • Position: #40 / 44
  • Number of attempts: 5
Olle Nordesjö
Twitter:

Squiggle Scientist by day at Oxford Nanopore. Tweets are my own.

entered into 7 challenges

contributed 0 challenges