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

Populate 3D bone names list - 489 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 31
  • Position: #83 / 134
  • Number of attempts: 4
Find fix point of cos - 1169 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: 17
  • Position: #250 / 355
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 501 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #164 / 282
  • Number of attempts: 2
Paste a column after a column - 2367 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 40
  • Position: #420 / 514
  • Number of attempts: 2
Generate a very basic Python constructor (fixed) - 1214 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 42
  • Position: #121 / 254
  • Number of attempts: 3
Reverse and count - 459 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 51
  • Position: #168 / 174
  • Number of attempts: 3
Daniel Niemczyk
Github:

entered into 6 challenges

contributed 0 challenges