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" - 3631 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #607 / 1179
  • Number of attempts: 2
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 33
  • Position: #1539 / 1895
  • Number of attempts: 1
Vice versa - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 19
  • Position: #1842 / 2147
  • Number of attempts: 1
One to Ten - 2243 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: #529 / 683
  • Number of attempts: 2
Delete to the end of the current line - 865 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 / 415
  • Number of attempts: 2
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #1022 / 1140
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1233 / 1756
  • Number of attempts: 1
Simple text editing with Vim - 13419 entries

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

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

entered into 8 challenges

contributed 0 challenges