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

Reordering properties - 388 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: 80
  • Position: #55 / 97
  • Number of attempts: 1
Change class fields from camel case to snake case - 359 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #38 / 90
  • Number of attempts: 1
Change class fields from snake case to camel case - 183 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #22 / 71
  • Number of attempts: 1
Convert plain text into a markdown table - 24 entries

Convert the table to markdown to make it more usable

  • Best score: 56
  • Best player score: 235
  • Position: #9 / 11
  • Number of attempts: 1
CaN yOuR ViM dO ThAt? #1 - 145 entries

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

  • Best score: 41
  • Best player score: 46
  • Position: #29 / 58
  • Number of attempts: 3
Markdown Blog Editing - 298 entries

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

  • Best score: 30
  • Best player score: 99
  • Position: #61 / 70
  • Number of attempts: 2
Deleting text - 256 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 122
  • Position: #78 / 83
  • Number of attempts: 1
Populate 3D bone names list - 633 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 35
  • Position: #127 / 163
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 561 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #229 / 314
  • Number of attempts: 1
82 bottles of beer on the wall - 313 entries

Take them down. (sorry, only 82 bottles because the problem size is limited!)

  • Best score: 106
  • Best player score: 149
  • Position: #114 / 146
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7154 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 72
  • Position: #1676 / 1754
  • Number of attempts: 1

Contributed Challenges

Reorganize Pokémon - 462 entries

Change the format of the each line and sort alphabetically.

Sandy1796ii
Github:

entered into 11 challenges

contributed 1 challenges