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

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

  • Best score: 10
  • Best player score: 14
  • Position: #350 / 460
  • Number of attempts: 1
HS Final exam vimgolf - 815 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 29
  • Position: #129 / 215
  • Number of attempts: 2
Python: Def to Lambda - 410 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 23
  • Position: #120 / 142
  • Number of attempts: 1
prepend * to every non-blank line - 6120 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #962 / 1493
  • Number of attempts: 2
Count both ways - 985 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #269 / 347
  • Number of attempts: 1

Contributed Challenges

Generate a very basic Python constructor (fixed) - 929 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

Philipp Schilk
Twitter:

entered into 5 challenges

contributed 1 challenges