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

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

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

  • Best score: 29
  • Best player score: 37
  • Position: #41 / 126
  • Number of attempts: 3
hello-world-vimgolf - 1523 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #240 / 436
  • Number of attempts: 13
Plotting some variables in python - 1172 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 34
  • Position: #35 / 247
  • Number of attempts: 20
CSV to MD format - 298 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 115
  • Position: #60 / 66
  • Number of attempts: 3
ssh config skills - 209 entries

Parse output from `kuebctl get no -o wide` into an .ssh/config file!

  • Best score: 41
  • Best player score: 97
  • Position: #47 / 50
  • Number of attempts: 1
Simple, Practical, and Common - 32904 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: 22
  • Position: #2354 / 7270
  • Number of attempts: 13
Sorting a glossary - 115 entries

Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.

  • Best score: 6
  • Best player score: 6
  • Position: #66 / 74
  • Number of attempts: 5
Overall Vimgolf Rank - 142 entries

Suppose you are trying to figure out what your overall rank is at Vimgolf(the sum of all the ranks you got), and as a Vim ninja you decided to use Vim to do the job. Your solution should work for every Vimgolf profile page(The actual input file for this challenge is my Vimgolf profile page). So, direct answer insertion is considered cheating.

  • Best score: 23
  • Best player score: 74
  • Position: #56 / 56
  • Number of attempts: 2
Anthony Asp
Twitter:

Computer Science Student

entered into 8 challenges

contributed 0 challenges