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 - 33929 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: #2114 / 7489
  • Number of attempts: 7
Get mail address from outlook format - 656 entries

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

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

For the Citizen Hacks 2019 Vim competition

  • Best score: 52
  • Best player score: 55
  • Position: #12 / 19
  • Number of attempts: 3
One number per line - 18840 entries

Just give me the numbers.

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

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

  • Best score: 12
  • Best player score: 13
  • Position: #232 / 864
  • Number of attempts: 8
Add semicolons - 10923 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #487 / 3087
  • Number of attempts: 9
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #534 / 1895
  • Number of attempts: 8
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1013 / 4208
  • Number of attempts: 10
Change the content of a string - 1750 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #189 / 639
  • Number of attempts: 5
Simple text editing with Vim - 13419 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 / 3846
  • Number of attempts: 6
Victor
Twitter:

entered into 10 challenges

contributed 0 challenges