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 - 1634 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: #339 / 363
  • Number of attempts: 1
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: 39
  • Position: #311 / 351
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 494 entries

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

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

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

  • Best score: 14
  • Best player score: 74
  • Position: #473 / 502
  • Number of attempts: 1
delete swap - 1578 entries

delete all swap

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

entered into 5 challenges

contributed 0 challenges