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

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

  • Best score: 10
  • Best player score: 14
  • Position: #235 / 303
  • Number of attempts: 1
HS Final exam vimgolf - 649 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: #104 / 174
  • Number of attempts: 2
Python: Def to Lambda - 359 entries

LAMBDA!!!

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

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

  • Best score: 10
  • Best player score: 15
  • Position: #937 / 1460
  • Number of attempts: 2
Count both ways - 947 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #264 / 338
  • Number of attempts: 1

Contributed Challenges

Generate a very basic Python constructor (fixed) - 447 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