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 - 1292 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 41
  • Position: #224 / 271
  • Number of attempts: 1
Move to corresponding lines - 305 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 25
  • Position: #33 / 68
  • Number of attempts: 10
Rearrange array to single level - 1654 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: #70 / 274
  • Number of attempts: 13
Copy punctuation - 671 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: #66 / 159
  • Number of attempts: 4
Find fix point of cos - 1444 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: #368 / 427
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 572 entries

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

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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #265 / 419
  • Number of attempts: 1
Fix the shell script! - 2651 entries

Fix the shell script with the fewest keystrokes!

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

entered into 8 challenges

contributed 0 challenges