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 - 33353 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: #1532 / 7358
  • Number of attempts: 11
One number per line - 18613 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #912 / 3841
  • Number of attempts: 13
Applying same text modification in several lines - 2845 entries

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

  • Best score: 12
  • Best player score: 23
  • Position: #739 / 840
  • Number of attempts: 5
remove lines containing the word "reader" - 3528 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #25 / 1142
  • Number of attempts: 4
Python challenge - 147 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

  • Best score: 31
  • Best player score: 107
  • Position: #42 / 44
  • Number of attempts: 2
Change part of a function name in multiple occurrences - 639 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 14
  • Position: #6 / 203
  • Number of attempts: 6
Put the months in order - 932 entries

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

  • Best score: 20
  • Best player score: 48
  • Position: #109 / 158
  • Number of attempts: 5
Santa's naughty / nice list - 78 entries

Christmas is here and Santa hasn't decided who's naughty or nice yet. He's given a list of names to his programmer friend to quickly split the children into naughty and nice. Hint: There's a hidden pattern that might be familiar.

  • Best score: 39
  • Best player score: 58
  • Position: #23 / 24
  • Number of attempts: 4
Jose Villalta 👨‍💻
Twitter:

Computer Engineer. Venezuelan, Father, Husband, US Marine, OIF vet, loves Philosophy, Science, Math...and coffee.

entered into 8 challenges

contributed 0 challenges