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 - 1931 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #284 / 517
  • Number of attempts: 4
HS Final exam vimgolf - 912 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: #185 / 240
  • Number of attempts: 1
Simple, Practical, and Common - 33801 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: #4539 / 7459
  • Number of attempts: 1
Swap values inside brackets - 2522 entries

Easy challenge.

  • Best score: 13
  • Best player score: 28
  • Position: #534 / 586
  • Number of attempts: 1
Add semicolons - 10905 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1738 / 3079
  • Number of attempts: 1
One to Ten - 2240 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: #567 / 681
  • Number of attempts: 1
Words in parens - 12980 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3178 / 3972
  • 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