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

Change to ascending order - 139 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #3 / 39
  • Number of attempts: 3
Change class fields from snake case to camel case - 150 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #30 / 56
  • Number of attempts: 2
extract struct tag in go - 42 entries

Can you extract all struct tags in the fewest keystrokes possible?

  • Best score: 29
  • Best player score: 39
  • Position: #10 / 17
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 77 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 47
  • Position: #25 / 32
  • Number of attempts: 1
Move list of uuids into a SQL query - 68 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: 69
  • Position: #20 / 28
  • Number of attempts: 1
Rearrange array to single level - 1298 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 14
  • Position: #11 / 205
  • Number of attempts: 12
Rearrange array to one line - 602 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 21
  • Position: #81 / 144
  • Number of attempts: 2
Copy punctuation - 487 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 44
  • Position: #82 / 121
  • Number of attempts: 1
Deleting text - 254 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 47
  • Position: #58 / 81
  • Number of attempts: 1
New teacher - 923 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #27 / 194
  • Number of attempts: 5
months to html list items - 1010 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #167 / 274
  • Number of attempts: 1
Quicksort - 1962 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #261 / 431
  • Number of attempts: 5
Fizzbuzz - 573 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 73
  • Position: #74 / 168
  • Number of attempts: 1
Swap values - 4616 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #978 / 1268
  • Number of attempts: 3
Swap values inside brackets - 2496 entries

Easy challenge.

  • Best score: 14
  • Best player score: 19
  • Position: #385 / 579
  • Number of attempts: 2
Rodi-Janssen
Github:

entered into 15 challenges

contributed 0 challenges