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 - 32904 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: #3459 / 7270
  • Number of attempts: 5
Separate the lines - 159 entries

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

  • Best score: 11
  • Best player score: 11
  • Position: #29 / 85
  • Number of attempts: 2
From argument to object - 1262 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: #326 / 417
  • Number of attempts: 1
That hyphen - 2498 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #161 / 683
  • Number of attempts: 6
Missing Library and a Typo - 836 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: #184 / 205
  • Number of attempts: 3
Create a table - 302 entries

Convert the given input into a formatted table

  • Best score: 16
  • Best player score: 29
  • Position: #89 / 98
  • Number of attempts: 1
Add Go XML to structure tags - 148 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: #40 / 64
  • Number of attempts: 2
I forgot quotes - 15728 entries

Oops.

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

Contributed Challenges

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