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 - 931 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: #53 / 214
  • Number of attempts: 4
π - 261 entries

1200 π chars

  • Best score: 16
  • Best player score: 25
  • Position: #39 / 65
  • Number of attempts: 3
Create json from a .env file - 1518 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 62
  • Position: #186 / 353
  • Number of attempts: 2
Changing date formats - 687 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 137
  • Position: #160 / 188
  • Number of attempts: 1
YAML to dotenv - 1459 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 31
  • Position: #208 / 298
  • Number of attempts: 1
Change to ascending order - 487 entries

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

  • Best score: 17
  • Best player score: 51
  • Position: #70 / 120
  • Number of attempts: 1
Generate an entry for each month - 369 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: #64 / 91
  • Number of attempts: 1
Change class fields from snake case to camel case - 290 entries

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #137 / 214
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 256 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: #59 / 100
  • Number of attempts: 1
Append leading hyphen count to each line - 126 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #25 / 35
  • Number of attempts: 3
Move list of uuids into a SQL query - 227 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 / 73
  • Number of attempts: 1
Markdown Blog Editing - 456 entries

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

  • Best score: 30
  • Best player score: 45
  • Position: #55 / 107
  • Number of attempts: 2
Column wise pasting - 256 entries

Make a table from 3 columns

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

Update the details of the new CS teacher.

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

entered into 15 challenges

contributed 0 challenges