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

Quicksort - 1968 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 64
  • Position: #406 / 434
  • Number of attempts: 1
Find fix point of cos - 1403 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: 39
  • Position: #370 / 416
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 560 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #7 / 313
  • Number of attempts: 1
Paste a column after a column - 2540 entries

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

  • Best score: 14
  • Best player score: 74
  • Position: #524 / 554
  • Number of attempts: 1
delete swap - 1786 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #237 / 555
  • Number of attempts: 4
V
Twitter2:

entered into 5 challenges

contributed 0 challenges