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

Filename Flip - 210 entries

Rearrange the MP3 filenames so that the identifier comes before the name.

  • Best score: 15
  • Best player score: 21
  • Position: #50 / 74
  • Number of attempts: 2
Filling braces - 490 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: 21
  • Best player score: 30
  • Position: #89 / 160
  • Number of attempts: 4
Swap function parameters and delete all comments in python. - 1079 entries

Swap function parameters and delete all comments in python.

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

Delete the last function argument in this python script.

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

A simple everyday task.

  • Best score: 38
  • Best player score: 74
  • Position: #295 / 431
  • Number of attempts: 2
Reordering properties - 1385 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: #211 / 302
  • Number of attempts: 4
Change to ascending order - 566 entries

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

  • Best score: 17
  • Best player score: 66
  • Position: #98 / 138
  • Number of attempts: 3
Fix the git merge conflicts - 394 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 60
  • Position: #71 / 111
  • 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 - 902 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 24
  • Position: #176 / 251
  • Number of attempts: 3
Remove adjacent duplicates - 732 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 47
  • Position: #164 / 187
  • Number of attempts: 3
New teacher - 1534 entries

Update the details of the new CS teacher.

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

Turn the months into list items.

  • Best score: 22
  • Best player score: 28
  • Position: #208 / 314
  • Number of attempts: 6
Simple, Practical, and Common - 34031 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 / 7520
  • Number of attempts: 3
Get mail address from outlook format - 665 entries

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

  • Best score: 15
  • Best player score: 21
  • Position: #165 / 209
  • Number of attempts: 2
prepend * to every non-blank line - 6401 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 7
  • Best player score: 21
  • Position: #1375 / 1566
  • Number of attempts: 2
V to the i - 4890 entries

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

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

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

  • Best score: 10
  • Best player score: 35
  • Position: #737 / 781
  • 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 19 challenges

contributed 0 challenges