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

Markdown Blog Editing - 488 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 133
  • Position: #112 / 119
  • Number of attempts: 1
Paste a column after a column - 2672 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 7
  • Best player score: 64
  • Position: #537 / 580
  • Number of attempts: 1
Simple, Practical, and Common - 34031 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: 25
  • Position: #3336 / 7520
  • Number of attempts: 2
Swap values - 4704 entries

Well, swap the values...

  • Best score: 6
  • Best player score: 15
  • Position: #866 / 1294
  • Number of attempts: 1
Search and Replace 0 - 5170 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 7
  • Best player score: 12
  • Position: #279 / 1680
  • Number of attempts: 2
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 21
  • Position: #3804 / 4229
  • Number of attempts: 1
vim1001 - 331 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 23
  • Position: #62 / 113
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1927 / 3717
  • Number of attempts: 2
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 13
  • Position: #1130 / 1767
  • Number of attempts: 1
Simple text editing with Vim - 13682 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 15
  • Position: #2177 / 3920
  • Number of attempts: 2
Dmitry Astapenko
Twitter:

vim user

entered into 10 challenges

contributed 0 challenges