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

Put a newline after every 10 lines in vim - 933 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #289 / 328
  • Number of attempts: 1
simple replacements - 1070 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 29
  • Position: #215 / 238
  • Number of attempts: 3
Inverting Lines - 1291 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 37
  • Position: #357 / 360
  • Number of attempts: 2
Yo To Hello - 1048 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 13
  • Position: #455 / 481
  • Number of attempts: 3
Replace pattern with 1, 2, 3, ... on each line - 1036 entries

For each line replace a search pattern (in this case $) with numbers starting at 1 and then increasing by 1 for each replaced match. a$b$c$ -> a0b1c2

  • Best score: 21
  • Best player score: 54
  • Position: #199 / 208
  • Number of attempts: 1
Arif Ardiansyah
Twitter:

entered into 5 challenges

contributed 0 challenges