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 - 625 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: #59 / 143
  • Number of attempts: 12
Create json from a .env file - 1329 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 39
  • Position: #18 / 309
  • Number of attempts: 11
Reordering properties - 1047 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: #107 / 242
  • Number of attempts: 1
YAML to dotenv - 1255 entries

Convert this YAML config file to a .env file.

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

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

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

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

  • Best score: 18
  • Best player score: 22
  • Position: #67 / 120
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #2 - 84 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 / 21
  • Number of attempts: 6
CaN yOuR ViM dO ThAt? #1 - 239 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: #25 / 91
  • Number of attempts: 5
Markdown Blog Editing - 434 entries

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

  • Best score: 30
  • Best player score: 46
  • Position: #52 / 101
  • Number of attempts: 1
Ozan
Github:

entered into 10 challenges

contributed 0 challenges