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 cross in the square - 71 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 22
  • Position: #11 / 37
  • Number of attempts: 1
Extend shell script - 62 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 37
  • Position: #3 / 23
  • Number of attempts: 2
Easy modification of ssh config - 147 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 24
  • Position: #4 / 45
  • Number of attempts: 6
ssh config skills - 149 entries

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

  • Best score: 41
  • Best player score: 46
  • Position: #15 / 38
  • Number of attempts: 3
Simple, Practical, and Common - 32758 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: #3182 / 7239
  • Number of attempts: 3
Aliases for cd - 781 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 34
  • Position: #33 / 142
  • Number of attempts: 3
V to the i - 4605 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #539 / 1842
  • Number of attempts: 3
remove lines containing the word "reader" - 3426 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #58 / 1110
  • Number of attempts: 2
Extract wireshark capture filter - 168 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 26
  • Position: #13 / 55
  • Number of attempts: 3
Box it - 7640 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #184 / 1825
  • Number of attempts: 6
Array propagate - 290 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 23
  • Position: #3 / 102
  • Number of attempts: 8
Team names - 1759 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #10 / 565
  • Number of attempts: 4
Learn some german verbs - 491 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 21
  • Best player score: 21
  • Position: #3 / 122
  • Number of attempts: 6
Subnetting - 88 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 29
  • Position: #8 / 30
  • Number of attempts: 1
comments galore - 956 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #234 / 406
  • Number of attempts: 1
Python challenge - 128 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

  • Best score: 31
  • Best player score: 34
  • Position: #10 / 39
  • Number of attempts: 2
Line under headers - 1853 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 27
  • Position: #75 / 460
  • Number of attempts: 2
From A to B - 533 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 16
  • Position: #43 / 149
  • Number of attempts: 7
Remove hard line breaks - 43 entries

Text files with Hard breaks are not good for e-readers. We need remove all hard line breaks and have long lines.

  • Best score: 10
  • Best player score: 10
  • Position: #6 / 26
  • Number of attempts: 3
Untangle my tail, please! - 45 entries

You know, this words were playing to chase their tails and Oops! What happened? Now we have a complete mess, their tails are totally tangled, can you please help them to untangle their tails?

  • Best score: 16
  • Best player score: 16
  • Position: #4 / 27
  • Number of attempts: 3
switch variable - 4865 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #534 / 1689
  • Number of attempts: 3

Contributed Challenges

Line under headers - 1853 entries

Put a line under each header, and remove the other markdown formatting.

Python challenge - 128 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

Subnetting - 88 entries

Split up the IP addresses in the right way.

Learn some german verbs - 491 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

Team names - 1759 entries

The team names are misspelled.

Extract wireshark capture filter - 168 entries

Extract wireshark capture filter from IP plan

Aliases for cd - 781 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

ssh config skills - 149 entries

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

Easy modification of ssh config - 147 entries

Just add another alias to each worker

Extend shell script - 62 entries

Just add some more stuff

Put a cross in the square - 71 entries

Put a cross in the square

Oskar Fridell
Twitter:

vim, bitcoin, running, biking, hiking

entered into 21 challenges

contributed 11 challenges