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 - 323 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: #59 / 106
  • Number of attempts: 4
Swap function parameters and delete all comments in python. - 1009 entries

Swap function parameters and delete all comments in python.

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

Delete the last function argument in this python script.

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

A simple everyday task.

  • Best score: 38
  • Best player score: 74
  • Position: #287 / 420
  • Number of attempts: 2
Reordering properties - 1381 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: #210 / 301
  • Number of attempts: 4
Change to ascending order - 556 entries

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

  • Best score: 17
  • Best player score: 66
  • Position: #97 / 135
  • Number of attempts: 3
Fix the git merge conflicts - 382 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 60
  • Position: #70 / 110
  • Number of attempts: 2
Fix the Scala Method - 379 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 / 126
  • Number of attempts: 10
Reorganize Pokémon - 883 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 24
  • Position: #171 / 244
  • Number of attempts: 3
Remove adjacent duplicates - 729 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 47
  • Position: #161 / 184
  • Number of attempts: 3
New teacher - 1529 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 27
  • Position: #198 / 320
  • Number of attempts: 9
months to html list items - 1155 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 28
  • Position: #206 / 312
  • Number of attempts: 6
Simple, Practical, and Common - 34024 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 / 7518
  • Number of attempts: 3
V to the i - 4887 entries

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

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

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

  • Best score: 21
  • Best player score: 35
  • Position: #735 / 779
  • Number of attempts: 2
The holy-grail may help - 408 entries

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

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

entered into 16 challenges

contributed 0 challenges