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 - 32910 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: #2115 / 7271
  • Number of attempts: 7
Get mail address from outlook format - 592 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 15
  • Position: #19 / 182
  • Number of attempts: 5
citizen_hacks_2019_part1 - 29 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 52
  • Best player score: 55
  • Position: #7 / 11
  • Number of attempts: 3
One number per line - 18378 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #637 / 3788
  • Number of attempts: 14
Applying same text modification in several lines - 2748 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #217 / 815
  • Number of attempts: 8
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #488 / 2988
  • Number of attempts: 9
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #521 / 1835
  • Number of attempts: 8
I forgot quotes - 15740 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1014 / 4115
  • Number of attempts: 10
Change the content of a string - 1350 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #189 / 521
  • Number of attempts: 5
Simple text editing with Vim - 11637 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #621 / 3413
  • Number of attempts: 6
Victor
Twitter:

entered into 10 challenges

contributed 0 challenges