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 - 33390 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: #982 / 7365
  • Number of attempts: 8
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1415 / 3842
  • Number of attempts: 6
Separate the lines - 175 entries

Every other line is mixed up. Separate them into their original texts.

  • Best score: 11
  • Best player score: 11
  • Position: #28 / 89
  • Number of attempts: 4
From argument to object - 1474 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 18
  • Position: #198 / 450
  • Number of attempts: 4
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #935 / 4164
  • Number of attempts: 4
Todo list specification - 385 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 37
  • Position: #24 / 176
  • Number of attempts: 3
Missing Library and a Typo - 856 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 16
  • Position: #43 / 209
  • Number of attempts: 5
Create a table - 331 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 16
  • Position: #4 / 105
  • Number of attempts: 5
Combines all items - 303 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 10
  • Position: #101 / 137
  • Number of attempts: 1
Add Go XML to structure tags - 152 entries

The Go programming language can directly map XML to structure fields. Add the correct XML tag after each field.

  • Best score: 23
  • Best player score: 25
  • Position: #20 / 66
  • Number of attempts: 8
Array transposition - 2387 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 17
  • Position: #54 / 444
  • Number of attempts: 6
Simple text editing with Vim - 12290 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1538 / 3581
  • Number of attempts: 5
Dan Simmons
Twitter:

Co-founder & CTO @skroot_llc. Technology enthusiast, investor, software developer, open-source contributor, fitness & nutrition addict, and finance geek.

entered into 12 challenges

contributed 0 challenges