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

Swap values inside brackets - 2395 entries

Easy challenge.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 2
Remember VimGolf Rules ! - 219 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Array transposition - 2233 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 15
Swap values - 4373 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 4
Simple, Practical, and Common - 32560 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
  • Number of attempts: 3
Mirror Symmetry - 739 entries

Add backslashes.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 8
Just the middle - 11060 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
I forgot quotes - 15590 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 5
That hyphen - 2456 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 6
The name of the game - 597 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1
switch variable - 4856 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3

Contributed Challenges

Swap values inside brackets - 2395 entries

Easy challenge.

_Tpouhuk
Twitter:

entered into 11 challenges

contributed 1 challenges