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 - 33940 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: #3562 / 7494
  • Number of attempts: 5
Separate the lines - 197 entries

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

  • Best score: 11
  • Best player score: 11
  • Position: #29 / 96
  • Number of attempts: 2
From argument to object - 1543 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: #372 / 468
  • Number of attempts: 1
That hyphen - 2602 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #161 / 704
  • Number of attempts: 6
Missing Library and a Typo - 952 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: #201 / 222
  • Number of attempts: 3
Create a table - 342 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 29
  • Position: #97 / 107
  • Number of attempts: 1
Add Go XML to structure tags - 195 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: #47 / 75
  • Number of attempts: 2
I forgot quotes - 16155 entries

Oops.

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

Contributed Challenges

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