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 - 33385 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 / 7364
  • Number of attempts: 7
Get mail address from outlook format - 621 entries

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

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

For the Citizen Hacks 2019 Vim competition

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

Just give me the numbers.

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

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

  • Best score: 12
  • Best player score: 13
  • Position: #228 / 840
  • Number of attempts: 8
Add semicolons - 10792 entries

Simply add a semicolon at the end of each line

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

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #528 / 1865
  • Number of attempts: 8
I forgot quotes - 15931 entries

Oops.

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

This docstring is a complete lie. Fix it.

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

entered into 10 challenges

contributed 0 challenges