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 - 620 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: #38 / 141
  • Number of attempts: 4
π - 187 entries

1200 π chars

  • Best score: 16
  • Best player score: 25
  • Position: #30 / 50
  • Number of attempts: 3
Create json from a .env file - 1315 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 62
  • Position: #167 / 306
  • Number of attempts: 2
Changing date formats - 615 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 137
  • Position: #147 / 170
  • Number of attempts: 1
YAML to dotenv - 1226 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 31
  • Position: #183 / 262
  • Number of attempts: 1
Change to ascending order - 450 entries

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

  • Best score: 17
  • Best player score: 51
  • Position: #66 / 110
  • Number of attempts: 1
Generate an entry for each month - 351 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: #60 / 84
  • Number of attempts: 1
Change class fields from snake case to camel case - 276 entries

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #127 / 190
  • Number of attempts: 2
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: 46
  • Position: #57 / 91
  • Number of attempts: 1
Append leading hyphen count to each line - 108 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #23 / 31
  • Number of attempts: 3
Move list of uuids into a SQL query - 204 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: #31 / 67
  • Number of attempts: 1
Markdown Blog Editing - 434 entries

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

  • Best score: 30
  • Best player score: 45
  • Position: #51 / 101
  • Number of attempts: 2
Column wise pasting - 240 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 35
  • Position: #33 / 51
  • Number of attempts: 1
New teacher - 1419 entries

Update the details of the new CS teacher.

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

entered into 15 challenges

contributed 0 challenges