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

Paste a column after a column - 2537 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 14
  • Position: #43 / 553
  • Number of attempts: 7
hello-world-vimgolf - 2499 entries

Simple number generation

  • Best score: 10
  • Best player score: 17
  • Position: #605 / 708
  • Number of attempts: 6
Simple, Practical, and Common - 33621 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: #2377 / 7422
  • Number of attempts: 12
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1197 / 1877
  • Number of attempts: 10
ninja substitution - 1420 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 14
  • Position: #83 / 267
  • Number of attempts: 8
The holy-grail may help - 366 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 25
  • Position: #204 / 209
  • Number of attempts: 1
Increment, increment, increment.... - 688 entries

Vim likes macros

  • Best score: 10
  • Best player score: 19
  • Position: #395 / 408
  • Number of attempts: 1
Alex
Twitter2:

entered into 7 challenges

contributed 0 challenges