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

Simple, Practical, and Common - 33621 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: #1755 / 7422
  • Number of attempts: 6
Box it - 7906 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #617 / 1877
  • Number of attempts: 6
html paragraph to table - 606 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 61
  • Position: #78 / 126
  • Number of attempts: 3
Just the middle - 11458 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1231 / 4199
  • Number of attempts: 5
One to Ten - 2219 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: 12
  • Position: #103 / 672
  • Number of attempts: 1
Increment each number - 1023 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #68 / 248
  • Number of attempts: 8
Delete to the end of the current line - 812 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #125 / 391
  • Number of attempts: 3
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2292 / 4182
  • Number of attempts: 4
Pascal's Triangle - 38 entries

Generate the first 17 left-justified rows of Pascal's triangle.

  • Best score: 36
  • Best player score: 36
  • Position: #5 / 17
  • Number of attempts: 2
Jairo Suarez
Twitter:

Climber, web developer.

entered into 9 challenges

contributed 0 challenges