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 - 33483 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: 26
  • Position: #3520 / 7384
  • Number of attempts: 5
Separate the lines - 176 entries

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

  • Best score: 11
  • Best player score: 11
  • Position: #29 / 90
  • Number of attempts: 2
From argument to object - 1481 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: 21
  • Position: #359 / 453
  • Number of attempts: 1
That hyphen - 2572 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #161 / 698
  • Number of attempts: 6
Missing Library and a Typo - 860 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: 14
  • Best player score: 25
  • Position: #190 / 211
  • Number of attempts: 3
Create a table - 332 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 29
  • Position: #96 / 105
  • Number of attempts: 1
Add Go XML to structure tags - 153 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: 30
  • Position: #43 / 67
  • Number of attempts: 2
I forgot quotes - 15946 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #601 / 4166
  • Number of attempts: 6

Contributed Challenges

Create a table - 332 entries

Convert the given input into a formatted table

Christian Panadero
Twitter:

Statically typed guy. Writing Haskell at @habito London. I lift heavy things as well 🏋️‍♂️

entered into 8 challenges

contributed 1 challenges