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

Simple, Practical, and Common - 33353 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #1393 / 7358
  • Number of attempts: 3
Swap values - 4535 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #603 / 1255
  • Number of attempts: 4
Swap values inside brackets - 2464 entries

Easy challenge.

  • Best score: 14
  • Best player score: 17
  • Position: #270 / 569
  • Number of attempts: 2
That hyphen - 2554 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #182 / 694
  • Number of attempts: 6
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1136 / 4160
  • Number of attempts: 2
Remember VimGolf Rules ! - 257 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 7
  • Position: #32 / 138
  • Number of attempts: 2
Array transposition - 2378 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 17
  • Position: #121 / 443
  • Number of attempts: 15
Mirror Symmetry - 798 entries

Add backslashes.

  • Best score: 7
  • Best player score: 10
  • Position: #113 / 266
  • Number of attempts: 8
I forgot quotes - 15922 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2632 / 4159
  • Number of attempts: 5
The name of the game - 646 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #238 / 354
  • Number of attempts: 1
switch variable - 5028 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #511 / 1734
  • Number of attempts: 3

Contributed Challenges

Swap values inside brackets - 2464 entries

Easy challenge.

_Tpouhuk
Twitter:

entered into 11 challenges

contributed 1 challenges