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

YAML to dotenv - 909 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 41
  • Position: #165 / 200
  • Number of attempts: 1
Move to corresponding lines - 267 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 25
  • Position: #28 / 62
  • Number of attempts: 10
Rearrange array to single level - 1502 entries

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

  • Best score: 14
  • Best player score: 19
  • Position: #64 / 249
  • Number of attempts: 13
Copy punctuation - 574 entries

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

  • Best score: 19
  • Best player score: 33
  • Position: #58 / 145
  • Number of attempts: 4
Find fix point of cos - 1426 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 33
  • Position: #363 / 422
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 567 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #221 / 318
  • Number of attempts: 1
HS exam question - 1596 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #264 / 418
  • Number of attempts: 1
Fix the shell script! - 2605 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 30
  • Position: #246 / 606
  • Number of attempts: 7
Christopher Arausa | Rathma
Github:

entered into 8 challenges

contributed 0 challenges