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

Paste a column after a column - 2120 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #31 / 453
  • Number of attempts: 12
Filter number combinations that don't add to 11 - 348 entries

Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.

  • Best score: 27
  • Best player score: 27
  • Position: #11 / 104
  • Number of attempts: 3
hello-world-vimgolf - 2298 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #259 / 649
  • Number of attempts: 11
harsha
Twitter:

snehaniki tshirt nicker este nalane untundhi. A good sadist. A random twit. He/him. CSE @iiit_hyderabad find me @ OTE5MzgxOTE2NDY0

entered into 3 challenges

contributed 0 challenges