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 - 1432 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: 15
  • Position: #138 / 424
  • Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 571 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #262 / 320
  • Number of attempts: 1
Paste a column after a column - 2618 entries

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

  • Best score: 14
  • Best player score: 20
  • Position: #309 / 567
  • Number of attempts: 1
delete swap - 1814 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #270 / 565
  • Number of attempts: 3
I forgot quotes - 16075 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2629 / 4198
  • Number of attempts: 2
Melker Fläskberg
Twitter:

https://t.co/STF7hniWrF

entered into 5 challenges

contributed 0 challenges