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 - 1676 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: 24
  • Position: #208 / 369
  • Number of attempts: 8
Remove line numbers - 617 entries

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

  • Best score: 12
  • Best player score: 18
  • Position: #103 / 166
  • Number of attempts: 2
Find fix point of cos - 1169 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: #179 / 355
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 501 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #169 / 282
  • Number of attempts: 1
Changing around text with citations - 323 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 66
  • Position: #81 / 89
  • Number of attempts: 1
Many duplicates - 1304 entries

Quick and easy

  • Best score: 6
  • Best player score: 8
  • Position: #267 / 427
  • Number of attempts: 4
Wikitext headings to markdown - 984 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 67
  • Position: #186 / 206
  • Number of attempts: 2
Contribute to keyboard mashing - 869 entries

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #198 / 263
  • Number of attempts: 2
Reordering Lorem Ipsum - 265 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 71
  • Position: #39 / 64
  • Number of attempts: 7
Migrated to Postgres! - 319 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 29
  • Position: #66 / 124
  • Number of attempts: 5
simple replacements - 1706 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #84 / 377
  • Number of attempts: 9
egitto
Github:

entered into 11 challenges

contributed 0 challenges