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 - 1356 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: #73 / 309
  • Number of attempts: 4
π - 344 entries

1200 π chars

  • Best score: 16
  • Best player score: 25
  • Position: #55 / 84
  • Number of attempts: 3
Create json from a .env file - 1773 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 62
  • Position: #220 / 431
  • Number of attempts: 2
Changing date formats - 774 entries

Change the date format to Y/M/D.

  • Best score: 36
  • Best player score: 137
  • Position: #183 / 213
  • Number of attempts: 1
YAML to dotenv - 1654 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 31
  • Position: #242 / 347
  • Number of attempts: 1
Change to ascending order - 566 entries

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

  • Best score: 17
  • Best player score: 51
  • Position: #79 / 138
  • Number of attempts: 1
Generate an entry for each month - 398 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: #70 / 102
  • Number of attempts: 1
Change class fields from snake case to camel case - 336 entries

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #152 / 251
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 309 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: #65 / 123
  • Number of attempts: 1
Append leading hyphen count to each line - 157 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #28 / 43
  • Number of attempts: 3
Move list of uuids into a SQL query - 254 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: #33 / 83
  • Number of attempts: 1
Markdown Blog Editing - 488 entries

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

  • Best score: 30
  • Best player score: 45
  • Position: #58 / 119
  • Number of attempts: 2
Column wise pasting - 282 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 35
  • Position: #41 / 63
  • Number of attempts: 1
New teacher - 1534 entries

Update the details of the new CS teacher.

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

entered into 15 challenges

contributed 0 challenges