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

Populate 3D bone names list - 488 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 28
  • Position: #63 / 133
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 501 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #130 / 282
  • Number of attempts: 1
Many duplicates - 1304 entries

Quick and easy

  • Best score: 6
  • Best player score: 7
  • Position: #30 / 427
  • Number of attempts: 4
Generate a very basic Python constructor (fixed) - 1214 entries

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

  • Best score: 29
  • Best player score: 29
  • Position: #52 / 254
  • Number of attempts: 5
Put a newline after every 10 lines in vim - 1628 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #419 / 542
  • Number of attempts: 1
RUST Cargo.toml version to last - 325 entries

RUST Cargo.toml version to last. rusty practice on vimgolf

  • Best score: 16
  • Best player score: 21
  • Position: #69 / 96
  • Number of attempts: 4
HS Final exam vimgolf - 887 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: #142 / 233
  • Number of attempts: 2
Python: Def to Lambda - 435 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 23
  • Position: #127 / 152
  • Number of attempts: 1
prepend * to every non-blank line - 6249 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #986 / 1527
  • Number of attempts: 2
Count both ways - 1006 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #273 / 352
  • Number of attempts: 1

Contributed Challenges

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

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

Philipp Schilk
Twitter:

entered into 10 challenges

contributed 1 challenges