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

Replace word while reserving first letter case - 563 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 24
  • Position: #22 / 113
  • Number of attempts: 29
Quicksort - 1890 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: 86
  • Position: #402 / 415
  • Number of attempts: 1
Remove line numbers - 703 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 9
  • Best player score: 12
  • Position: #69 / 190
  • Number of attempts: 8
Paste a column after a column - 2518 entries

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

  • Best score: 14
  • Best player score: 47
  • Position: #472 / 549
  • Number of attempts: 3
hello-world-vimgolf - 2494 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #334 / 706
  • Number of attempts: 9
Shubham
Github:

entered into 5 challenges

contributed 0 challenges