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 - 33236 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: #3494 / 7330
  • Number of attempts: 5
Separate the lines - 173 entries

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

  • Best score: 11
  • Best player score: 11
  • Position: #29 / 88
  • Number of attempts: 2
From argument to object - 1450 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: #350 / 444
  • Number of attempts: 1
That hyphen - 2530 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #161 / 690
  • Number of attempts: 6
Missing Library and a Typo - 838 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: 25
  • Position: #185 / 206
  • Number of attempts: 3
Create a table - 324 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 29
  • Position: #94 / 103
  • Number of attempts: 1
Add Go XML to structure tags - 151 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: #41 / 65
  • Number of attempts: 2
I forgot quotes - 15880 entries

Oops.

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

Contributed Challenges

Create a table - 324 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