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

HS exam question - 1510 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 151
  • Position: #373 / 397
  • Number of attempts: 1
Reformat symbols in list - 1472 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #66 / 324
  • Number of attempts: 9
Generate a very basic Python constructor (fixed) - 1184 entries

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

  • Best score: 29
  • Best player score: 48
  • Position: #155 / 249
  • Number of attempts: 9
Fix the shell script! - 2349 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 51
  • Position: #452 / 543
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1581 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #64 / 527
  • Number of attempts: 10
hello-world-vimgolf - 2367 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #116 / 670
  • Number of attempts: 9
Simple, Practical, and Common - 33385 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 25
  • Position: #3261 / 7364
  • Number of attempts: 6
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #388 / 3842
  • Number of attempts: 15
-a-b-c- - 3176 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #835 / 1129
  • Number of attempts: 1
Eric Briand
Twitter:

CTO @ZenikaNantes. Cloud #GoogleDevExpert. Certified #Kubernetes Admin and #GCP Architect. @cncfnantes Meetup co-organizer.

entered into 9 challenges

contributed 0 challenges