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 - 33385 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: #692 / 7364
  • Number of attempts: 11
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #127 / 3842
  • Number of attempts: 11
Quote modules - 1053 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 27
  • Position: #148 / 273
  • Number of attempts: 5
remove lines containing the word "reader" - 3537 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #611 / 1144
  • Number of attempts: 4
Box it - 7827 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #626 / 1864
  • Number of attempts: 14
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: 21
  • Position: #365 / 450
  • Number of attempts: 1
Team names - 1805 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #135 / 581
  • Number of attempts: 11
Stairstep digits - 376 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #62 / 141
  • Number of attempts: 4
Array transposition - 2378 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 20
  • Position: #214 / 443
  • Number of attempts: 2
Joe Reddington
Twitter:

I run the charity @eQuality_Time (including @wwaterwriters). fromer compsci postdoc. Into transparency. Dad.

entered into 9 challenges

contributed 0 challenges