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

delete swap - 1878 entries

delete all swap

  • Best score: 5
  • Best player score: 11
  • Position: #482 / 575
  • Number of attempts: 2
Quote modules - 1099 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 35
  • Position: #254 / 287
  • Number of attempts: 1
Bad Copy Syntax - 2078 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 31
  • Position: #453 / 540
  • Number of attempts: 5
Add to end of each line... kinda - 344 entries

Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?

  • Best score: 12
  • Best player score: 12
  • Position: #106 / 177
  • Number of attempts: 2
comments galore - 1079 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #300 / 431
  • Number of attempts: 3
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 18
  • Position: #1098 / 1196
  • Number of attempts: 2
Letter case trickery - 1663 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 16
  • Position: #470 / 522
  • Number of attempts: 1
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 29
  • Position: #1726 / 1758
  • Number of attempts: 1
Jacob
Github:

entered into 8 challenges

contributed 0 challenges