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 - 1181 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: 26
  • Position: #65 / 258
  • Number of attempts: 4
π - 303 entries

1200 π chars

  • Best score: 16
  • Best player score: 25
  • Position: #46 / 74
  • Number of attempts: 3
Create json from a .env file - 1607 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 62
  • Position: #199 / 390
  • Number of attempts: 2
Changing date formats - 713 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 137
  • Position: #169 / 198
  • Number of attempts: 1
YAML to dotenv - 1557 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 31
  • Position: #224 / 322
  • Number of attempts: 1
Change to ascending order - 508 entries

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

  • Best score: 17
  • Best player score: 51
  • Position: #73 / 126
  • Number of attempts: 1
Generate an entry for each month - 374 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 64
  • Position: #65 / 93
  • Number of attempts: 1
Change class fields from snake case to camel case - 315 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #53 / 118
  • Number of attempts: 2
Reorganize Pokémon - 837 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #143 / 230
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 288 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: #62 / 112
  • Number of attempts: 1
Append leading hyphen count to each line - 134 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 27
  • Position: #27 / 37
  • Number of attempts: 3
Move list of uuids into a SQL query - 236 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 66
  • Position: #32 / 78
  • Number of attempts: 1
Markdown Blog Editing - 471 entries

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

  • Best score: 30
  • Best player score: 45
  • Position: #56 / 110
  • Number of attempts: 2
Column wise pasting - 257 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 35
  • Position: #35 / 54
  • Number of attempts: 1
New teacher - 1494 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #153 / 312
  • Number of attempts: 2
greg-asc
Github:

entered into 15 challenges

contributed 0 challenges