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

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

  • Best score: 10
  • Best player score: 14
  • Position: #311 / 404
  • Number of attempts: 1
HS Final exam vimgolf - 754 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: #122 / 202
  • Number of attempts: 2
Python: Def to Lambda - 392 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 23
  • Position: #115 / 135
  • Number of attempts: 1
prepend * to every non-blank line - 6061 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #954 / 1481
  • Number of attempts: 2
Count both ways - 968 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #267 / 344
  • Number of attempts: 1

Contributed Challenges

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