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

From brakets to parens - 1274 entries

This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.

  • Best score: 24
  • Best player score: 29
  • Position: #101 / 287
  • Number of attempts: 12
Create json from a .env file - 1659 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 39
  • Position: #19 / 408
  • Number of attempts: 11
Reordering properties - 1357 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: 71
  • Position: #138 / 295
  • Number of attempts: 1
YAML to dotenv - 1603 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #44 / 336
  • Number of attempts: 10
Swap columns and transform to CSV format - 474 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 17
  • Position: #60 / 171
  • Number of attempts: 3
Fix the Scala Method - 368 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: #38 / 121
  • Number of attempts: 5
Change class fields from camel case to snake case - 662 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 22
  • Position: #79 / 152
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 106 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

  • Best score: 49
  • Best player score: 52
  • Position: #9 / 28
  • Number of attempts: 6
CaN yOuR ViM dO ThAt? #1 - 297 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 42
  • Position: #27 / 118
  • Number of attempts: 6
Markdown Blog Editing - 480 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 46
  • Position: #58 / 116
  • Number of attempts: 1
Quicksort - 2113 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #143 / 472
  • Number of attempts: 2
Modernise code - 1437 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 38
  • Position: #124 / 332
  • Number of attempts: 2
HS Final exam vimgolf - 936 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 25
  • Position: #125 / 245
  • Number of attempts: 1
Do you demand a shrubbery? - 1187 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 18
  • Position: #159 / 307
  • Number of attempts: 2
Ozan
Github:

entered into 14 challenges

contributed 0 challenges