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 - 2662 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 / 576
  • Number of attempts: 7
hello-world-vimgolf - 2523 entries

Simple number generation

  • Best score: 10
  • Best player score: 17
  • Position: #619 / 722
  • Number of attempts: 6
Simple, Practical, and Common - 33929 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 / 7489
  • Number of attempts: 12
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 27
  • Position: #1207 / 1895
  • Number of attempts: 10
ninja substitution - 1436 entries

How can you reuse a previous substitution ?

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

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

  • Best score: 16
  • Best player score: 25
  • Position: #211 / 216
  • Number of attempts: 1
Increment, increment, increment.... - 703 entries

Vim likes macros

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

entered into 7 challenges

contributed 0 challenges