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 - 34012 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 / 7513
  • Number of attempts: 11
One number per line - 18903 entries

Just give me the numbers.

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

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #75 / 108
  • Number of attempts: 1
Applying same text modification in several lines - 2931 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #33 / 867
  • Number of attempts: 3
Add string initializers to an enum - 903 entries

Change Typescript enum so that it has string initializers.

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1024 / 3098
  • Number of attempts: 3
remove lines containing the word "reader" - 3652 entries

easy stuff

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

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

  • Best score: 12
  • Best player score: 13
  • Position: #208 / 910
  • Number of attempts: 7
Box it - 8003 entries

Create a box around a line.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Position: #92 / 237
  • Number of attempts: 5
Two pairs of cluster of letters creates word - 773 entries

Clean and group.

  • Best score: 17
  • Best player score: 18
  • Position: #77 / 182
  • Number of attempts: 13
Convert Application Output to CSV - 226 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 17
  • Position: #13 / 59
  • Number of attempts: 2
Number Sort - 328 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 / 173
  • Number of attempts: 3
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1131 / 4255
  • Number of attempts: 6
Learn some german verbs - 553 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: #134 / 137
  • Number of attempts: 1
Remember VimGolf Rules ! - 279 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 8
  • Position: #99 / 149
  • Number of attempts: 1
Back to the roots - 80 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: #24 / 43
  • Number of attempts: 2
ninja substitution - 1439 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 15
  • Position: #100 / 271
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 691 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: #79 / 214
  • Number of attempts: 5
move titles next to url, in quotes - 565 entries

had trouble with something similar

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

entered into 20 challenges

contributed 0 challenges