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 - 18911 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2732 / 3907
  • Number of attempts: 1
V to the i - 4887 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1318 / 1916
  • Number of attempts: 1
From argument to object - 1566 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: #463 / 471
  • Number of attempts: 1
Just the middle - 11630 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3597 / 4261
  • Number of attempts: 1
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 16
  • Position: #854 / 1200
  • Number of attempts: 2
I forgot quotes - 16240 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3675 / 4226
  • Number of attempts: 2
Words in parens - 13058 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 22
  • Position: #3612 / 3993
  • Number of attempts: 1
switch variable - 5131 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 17
  • Position: #1638 / 1766
  • Number of attempts: 1
Whitespace, empty lines and tabs - 4070 entries

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

  • Best score: 16
  • Best player score: 44
  • Position: #817 / 868
  • 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