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

simple replacements - 1072 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 32
  • Position: #222 / 239
  • Number of attempts: 1
Modernise code - 827 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 51
  • Position: #141 / 191
  • Number of attempts: 1
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3167 / 3787
  • Number of attempts: 1
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #127 / 1121
  • Number of attempts: 2
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1169 / 1835
  • Number of attempts: 1
One to Ten - 2093 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Position: #417 / 641
  • Number of attempts: 1
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 46
  • Position: #224 / 233
  • Number of attempts: 1
S├ębastien Lavoie
Twitter:

entered into 7 challenges

contributed 0 challenges