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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 79
  • Position: #153 / 247
  • Number of attempts: 4
Generate a very basic Python constructor (fixed) - 879 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: #62 / 193
  • Number of attempts: 3
hello-world-vimgolf - 1850 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #289 / 526
  • Number of attempts: 13
Plotting some variables in python - 1320 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 / 278
  • Number of attempts: 20
CSV to MD format - 329 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 115
  • Position: #68 / 76
  • Number of attempts: 3
ssh config skills - 222 entries

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

  • Best score: 41
  • Best player score: 97
  • Position: #50 / 56
  • Number of attempts: 1
Simple, Practical, and Common - 33074 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 / 7295
  • Number of attempts: 13
Sorting a glossary - 116 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 / 75
  • Number of attempts: 5
Overall Vimgolf Rank - 161 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: #57 / 57
  • Number of attempts: 2
Anthony Asp
Twitter:

Computer Science Student

entered into 9 challenges

contributed 0 challenges