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

One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2715 / 3877
  • Number of attempts: 1
V to the i - 4824 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1311 / 1899
  • Number of attempts: 1
From argument to object - 1524 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 33
  • Position: #456 / 463
  • Number of attempts: 1
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3569 / 4215
  • Number of attempts: 1
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 16
  • Position: #847 / 1192
  • Number of attempts: 2
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3649 / 4194
  • Number of attempts: 2
Words in parens - 12969 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3595 / 3970
  • Number of attempts: 1
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 17
  • Position: #1624 / 1750
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3793 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 44
  • Position: #770 / 814
  • Number of attempts: 1
伺か
Twitter:

I'm the software engineer in Quipper. I love Neovim, Go and Rails. My tweets are mostly in Japanese but mention in English are welcome!

entered into 9 challenges

contributed 0 challenges