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

Filling braces - 123 entries

Inspired by a question on CoDidact (https://software.codidact.com/posts/296501), I wondered if Vim could offer a satisfactory ‘solution’ to this problem.

  • Best score: 24
  • Best player score: 30
  • Position: #26 / 43
  • Number of attempts: 4
Swap function parameters and delete all comments in python. - 956 entries

Swap function parameters and delete all comments in python.

  • Best score: 19
  • Best player score: 20
  • Position: #69 / 235
  • Number of attempts: 10
Delete the last function argument in python. - 649 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 6
  • Position: #104 / 233
  • Number of attempts: 6
Create json from a .env file - 1716 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 74
  • Position: #283 / 416
  • Number of attempts: 2
Reordering properties - 1372 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 95
  • Position: #208 / 298
  • Number of attempts: 4
Change to ascending order - 548 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 66
  • Position: #96 / 134
  • Number of attempts: 3
Fix the git merge conflicts - 351 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 60
  • Position: #66 / 106
  • Number of attempts: 2
Fix the Scala Method - 375 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 22
  • Position: #52 / 124
  • Number of attempts: 10
Reorganize Pokémon - 880 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 24
  • Position: #170 / 242
  • Number of attempts: 3
Remove adjacent duplicates - 727 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 47
  • Position: #159 / 182
  • Number of attempts: 3
New teacher - 1527 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #197 / 319
  • Number of attempts: 9
months to html list items - 1151 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 28
  • Position: #205 / 311
  • Number of attempts: 6
Simple, Practical, and Common - 34021 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: #2416 / 7517
  • Number of attempts: 3
V to the i - 4885 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #802 / 1915
  • Number of attempts: 5
Vertical Limit - 2637 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 35
  • Position: #734 / 778
  • Number of attempts: 2
The holy-grail may help - 405 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 17
  • Position: #197 / 221
  • Number of attempts: 4
Bennett Hunter
Github:

entered into 16 challenges

contributed 0 challenges