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 - 1134 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: #92 / 249
  • Number of attempts: 12
Create json from a .env file - 1585 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 39
  • Position: #18 / 376
  • Number of attempts: 11
Reordering properties - 1220 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: #128 / 279
  • Number of attempts: 1
YAML to dotenv - 1542 entries

Convert this YAML config file to a .env file.

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

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

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

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

  • Best score: 18
  • Best player score: 22
  • Position: #76 / 140
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 99 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 / 25
  • Number of attempts: 6
CaN yOuR ViM dO ThAt? #1 - 270 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: #26 / 107
  • Number of attempts: 6
Markdown Blog Editing - 467 entries

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

  • Best score: 30
  • Best player score: 46
  • Position: #57 / 108
  • Number of attempts: 1
Modernise code - 1434 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 38
  • Position: #123 / 331
  • Number of attempts: 2
HS Final exam vimgolf - 933 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: #124 / 244
  • Number of attempts: 1
Ozan
Github:

entered into 12 challenges

contributed 0 challenges