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

Move to corresponding lines - 241 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 25
  • Position: #26 / 53
  • Number of attempts: 10
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: 19
  • Position: #56 / 205
  • Number of attempts: 13
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: 33
  • Position: #50 / 121
  • Number of attempts: 4
Find fix point of cos - 1402 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: #356 / 415
  • Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 554 entries

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

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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 78
  • Position: #263 / 417
  • Number of attempts: 1
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

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

entered into 7 challenges

contributed 0 challenges