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

Poorly indented Python comments - 748 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 15
  • Position: #15 / 143
  • Number of attempts: 18
Many duplicates - 616 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #89 / 214
  • Number of attempts: 3
Visual block training - 651 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 53
  • Position: #89 / 123
  • Number of attempts: 2
Simple, Practical, and Common - 33029 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: #2358 / 7290
  • Number of attempts: 8
abcd > a b c d - 270 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #186 / 211
  • Number of attempts: 3
Vertical Limit - 2386 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 21
  • Position: #94 / 723
  • Number of attempts: 7
switch variable - 4974 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #646 / 1715
  • Number of attempts: 7
A Simple One - 968 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #523 / 629
  • Number of attempts: 4
Increment, increment, increment.... - 600 entries

Vim likes macros

  • Best score: 10
  • Best player score: 11
  • Position: #58 / 382
  • Number of attempts: 7
Jacob Puthipiroj
Twitter:

Bruh

entered into 9 challenges

contributed 0 challenges