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

Reordering properties - 1042 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 106
  • Position: #185 / 240
  • Number of attempts: 1
YAML to dotenv - 1226 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 36
  • Position: #210 / 262
  • 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: 83
  • Position: #72 / 84
  • Number of attempts: 2
Replace markdown sections with numbering - 284 entries

Replace each section and subsection with their respective numbers

  • Best score: 29
  • Best player score: 94
  • Position: #52 / 72
  • Number of attempts: 1
Fix the Scala Method - 286 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 22
  • Position: #33 / 89
  • Number of attempts: 7
Change class fields from camel case to snake case - 526 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 51
  • Position: #102 / 120
  • Number of attempts: 1
Reorganize Pokémon - 691 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #105 / 190
  • Number of attempts: 4
Replace csv column if it's not empty - 248 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 16
  • Position: #52 / 83
  • Number of attempts: 7
Move list of uuids into a SQL query - 196 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: 68
  • Position: #41 / 66
  • Number of attempts: 2
Search different SQL column with similar where clause - 304 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 27
  • Position: #47 / 68
  • Number of attempts: 6
Remove adjacent duplicates - 646 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 35
  • Position: #107 / 162
  • Number of attempts: 2
Move to corresponding lines - 285 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 35
  • Position: #58 / 66
  • Number of attempts: 2
New teacher - 1419 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 30
  • Position: #227 / 299
  • Number of attempts: 3
Simple text editing with Vim - 13262 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #2069 / 3810
  • Number of attempts: 6
Sjur B.
Github:

entered into 14 challenges

contributed 0 challenges