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

Surround the 'z' character with brackets, quotes, and print as formatted string. - 555 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #89 / 310
  • Number of attempts: 3
Inverting Lines - 1900 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #326 / 511
  • Number of attempts: 7
Modernise code - 1400 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 39
  • Position: #124 / 323
  • Number of attempts: 8
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: 21
  • Position: #19 / 236
  • Number of attempts: 12
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: 24
  • Position: #3069 / 7422
  • Number of attempts: 5
Add semicolons - 10867 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1361 / 3065
  • Number of attempts: 4
Com(m)a Trouble - 3829 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #102 / 866
  • Number of attempts: 7
Vice versa - 7910 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #533 / 2129
  • Number of attempts: 6
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: 21
  • Position: #585 / 672
  • Number of attempts: 4
Line under headers - 2045 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 30
  • Position: #287 / 504
  • Number of attempts: 6
Lee Kian Tat Ken
Twitter:

entered into 10 challenges

contributed 0 challenges