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

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

  • Best score: 14
  • Best player score: 64
  • Position: #514 / 558
  • Number of attempts: 1
Fix the shell script! - 2596 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 28
  • Position: #156 / 603
  • Number of attempts: 16
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: 10
  • Position: #34 / 558
  • Number of attempts: 9
Migrated to Postgres! - 331 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 29
  • Position: #63 / 131
  • Number of attempts: 6
simple replacements - 1802 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 20
  • Position: #135 / 390
  • Number of attempts: 9
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #449 / 1881
  • Number of attempts: 19
Ward Quaghebeur
Twitter2:

entered into 6 challenges

contributed 0 challenges