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

Inverting Lines - 1892 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 12
  • Position: #278 / 510
  • Number of attempts: 4
HS Final exam vimgolf - 897 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 37
  • Position: #182 / 236
  • Number of attempts: 1
Simple, Practical, and Common - 33609 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: 28
  • Position: #4520 / 7415
  • Number of attempts: 1
Swap values inside brackets - 2493 entries

Easy challenge.

  • Best score: 14
  • Best player score: 28
  • Position: #527 / 578
  • Number of attempts: 1
Add semicolons - 10848 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1732 / 3061
  • Number of attempts: 1
One to Ten - 2209 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: 17
  • Position: #559 / 669
  • Number of attempts: 1
Words in parens - 12929 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3168 / 3961
  • Number of attempts: 2
Piers (Ali) Barber
Twitter:

RTL design engineer (Arm). Tweets are my own. He/him.

entered into 7 challenges

contributed 0 challenges