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

Paste a column after a column - 2547 entries

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

  • Best score: 14
  • Best player score: 31
  • Position: #415 / 556
  • Number of attempts: 1
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #235 / 557
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1660 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #171 / 558
  • Number of attempts: 3
hello-world-vimgolf - 2501 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #265 / 709
  • Number of attempts: 2
Max Shen
Twitter2:

entered into 4 challenges

contributed 0 challenges