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

remove lines containing the word "reader" - 1879 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
Santa's naughty / nice list - 70 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
  • Number of attempts: 4
Change part of a function name in multiple occurrences - 439 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
  • Number of attempts: 6
Applying same text modification in several lines - 1792 entries

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

  • Best score: 13
  • Best player score: 23
  • Number of attempts: 5
One number per line - 13417 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 13
Python challenge - 112 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
  • Number of attempts: 2
Put the months in order - 499 entries

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

  • Best score: 20
  • Best player score: 48
  • Number of attempts: 5
Simple, Practical, and Common - 25737 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
  • Number of attempts: 11
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