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 - 1160 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 / 351
  • Number of attempts: 4
Paste a column after a column - 2314 entries

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

  • Best score: 14
  • Best player score: 22
  • Position: #308 / 501
  • Number of attempts: 1
hello-world-vimgolf - 2394 entries

Simple number generation

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

Put a cross in the square

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

LAMBDA!!!

  • Best score: 19
  • Best player score: 23
  • Position: #130 / 151
  • Number of attempts: 2
Rural Post - 4399 entries

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

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

entered into 6 challenges

contributed 0 challenges