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

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

  • Best score: 14
  • Best player score: 15
  • Position: #119 / 576
  • Number of attempts: 12
Reformat symbols in list - 1649 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 29
  • Position: #190 / 355
  • Number of attempts: 4
Many duplicates - 1472 entries

Quick and easy

  • Best score: 7
  • Best player score: 10
  • Position: #392 / 480
  • Number of attempts: 3
hello-world-vimgolf - 2523 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #305 / 722
  • Number of attempts: 9
prepend * to every non-blank line - 6381 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 15
  • Position: #1010 / 1558
  • Number of attempts: 2
Daniel Allen
Github:

entered into 5 challenges

contributed 0 challenges