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

Find fix point of cos - 1370 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: 14
  • Position: #6 / 399
  • Number of attempts: 4
Paste a column after a column - 2514 entries

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

  • Best score: 14
  • Best player score: 22
  • Position: #339 / 548
  • Number of attempts: 1
hello-world-vimgolf - 2494 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #271 / 706
  • Number of attempts: 5
Put a cross in the square - 225 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 20
  • Position: #10 / 89
  • Number of attempts: 5
Python: Def to Lambda - 453 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 23
  • Position: #133 / 155
  • Number of attempts: 2
Rural Post - 4462 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #465 / 1093
  • Number of attempts: 4
KensStake
Twitter:

entered into 6 challenges

contributed 0 challenges