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

Box it - 4250 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 3
replacing each line of a block selection - 2591 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 23
  • Number of attempts: 1
remove lines containing the word "reader" - 2179 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
V to the i - 4114 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Delete to the end of the current line - 542 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
-a-b-c- - 2689 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 3
Build a six - 245 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 2
Swap values inside brackets - 1757 entries

Easy challenge.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Vice versa - 6249 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 3
convert yml into java pojo field - 717 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 30
  • Number of attempts: 3
Vertical Limit - 2167 entries

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

  • Best score: 21
  • Best player score: 29
  • Number of attempts: 1
Team names - 1507 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 3
Extract argument from function - 2049 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Space out the alphabet - 1413 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 1
Timothy Michael Fox
Twitter:

entered into 14 challenges

contributed 0 challenges