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

remove lines containing the word "reader" - 3610 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #602 / 1172
  • Number of attempts: 2
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 33
  • Position: #1531 / 1885
  • Number of attempts: 1
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 19
  • Position: #1839 / 2144
  • Number of attempts: 1
One to Ten - 2234 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 15
  • Position: #527 / 679
  • Number of attempts: 2
Delete to the end of the current line - 847 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #118 / 406
  • Number of attempts: 2
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #1020 / 1138
  • Number of attempts: 1
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1229 / 1750
  • Number of attempts: 1
Simple text editing with Vim - 13093 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 21
  • Position: #2956 / 3766
  • Number of attempts: 1
Iver HÃ¥konsen
Twitter:

entered into 8 challenges

contributed 0 challenges