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 - 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: 22
  • Position: #1399 / 7459
  • Number of attempts: 11
One number per line - 18811 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #444 / 3883
  • Number of attempts: 11
citizen_hacks_2019_challenge2 - 200 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #73 / 103
  • Number of attempts: 1
Applying same text modification in several lines - 2910 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #31 / 861
  • Number of attempts: 3
Add string initializers to an enum - 884 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 21
  • Position: #10 / 261
  • Number of attempts: 4
Add semicolons - 10905 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1016 / 3079
  • Number of attempts: 3
remove lines containing the word "reader" - 3616 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #21 / 1174
  • Number of attempts: 4
Com(m)a Trouble - 3910 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #203 / 887
  • Number of attempts: 7
Box it - 7956 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #9 / 1887
  • Number of attempts: 4
Cool or not? - 841 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Position: #91 / 232
  • Number of attempts: 5
Two pairs of cluster of letters creates word - 751 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #76 / 179
  • Number of attempts: 13
Convert Application Output to CSV - 203 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 17
  • Position: #13 / 56
  • Number of attempts: 2
Number Sort - 319 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #57 / 170
  • Number of attempts: 3
Just the middle - 11523 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1131 / 4222
  • Number of attempts: 6
Learn some german verbs - 541 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 21
  • Best player score: 245
  • Position: #132 / 134
  • Number of attempts: 1
Remember VimGolf Rules ! - 268 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 8
  • Position: #97 / 145
  • Number of attempts: 1
Back to the roots - 69 entries

Johnny has a file with more integers. He wants to change each number with its square root. Can you help him?

  • Best score: 20
  • Best player score: 23
  • Position: #22 / 40
  • Number of attempts: 2
ninja substitution - 1424 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 15
  • Position: #99 / 268
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 672 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Position: #77 / 210
  • Number of attempts: 5
move titles next to url, in quotes - 549 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 22
  • Position: #75 / 145
  • Number of attempts: 4
A
Twitter:

entered into 20 challenges

contributed 0 challenges