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

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

  • Best score: 14
  • Best player score: 31
  • Position: #434 / 575
  • Number of attempts: 1
delete swap - 1834 entries

delete all swap

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #172 / 563
  • Number of attempts: 3
hello-world-vimgolf - 2522 entries

Simple number generation

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

entered into 4 challenges

contributed 0 challenges