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 - 69 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: 25
  • Best player score: 26
  • Position: #6 / 21
  • Number of attempts: 4
π - 44 entries

1200 π chars

  • Best score: 16
  • Best player score: 25
  • Position: #12 / 17
  • Number of attempts: 3
Create json from a .env file - 802 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 62
  • Position: #106 / 181
  • Number of attempts: 2
Changing date formats - 478 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 137
  • Position: #122 / 143
  • Number of attempts: 1
YAML to dotenv - 1000 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 31
  • Position: #157 / 217
  • Number of attempts: 1
Change to ascending order - 376 entries

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

  • Best score: 17
  • Best player score: 51
  • Position: #58 / 97
  • Number of attempts: 1
Generate an entry for each month - 237 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: #48 / 67
  • Number of attempts: 1
Change class fields from snake case to camel case - 246 entries

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #117 / 170
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 186 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: #47 / 74
  • Number of attempts: 1
Append leading hyphen count to each line - 84 entries

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

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

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

  • Best score: 30
  • Best player score: 45
  • Position: #46 / 86
  • Number of attempts: 2
Column wise pasting - 239 entries

Make a table from 3 columns

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

Update the details of the new CS teacher.

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

entered into 15 challenges

contributed 0 challenges