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 - 33571 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 / 7405
  • Number of attempts: 11
One number per line - 18709 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #918 / 3856
  • Number of attempts: 13
Applying same text modification in several lines - 2865 entries

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

  • Best score: 12
  • Best player score: 23
  • Position: #745 / 846
  • Number of attempts: 5
remove lines containing the word "reader" - 3574 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #25 / 1158
  • Number of attempts: 4
Python challenge - 172 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: #44 / 46
  • Number of attempts: 2
Change part of a function name in multiple occurrences - 661 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 / 207
  • Number of attempts: 6
Put the months in order - 973 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: #112 / 162
  • Number of attempts: 5
Santa's naughty / nice list - 90 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: #25 / 26
  • 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