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

Put a cross in the square

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 1
Extend shell script - 36 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 37
  • Number of attempts: 2
Easy modification of ssh config - 78 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 24
  • Number of attempts: 6
ssh config skills - 127 entries

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

  • Best score: 41
  • Best player score: 46
  • Number of attempts: 3
Aliases for cd - 758 entries

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

  • Best score: 30
  • Best player score: 34
  • Number of attempts: 3
Line under headers - 1832 entries

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

  • Best score: 24
  • Best player score: 27
  • Number of attempts: 2
Extract wireshark capture filter - 152 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 26
  • Number of attempts: 3
Box it - 7552 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 6
remove lines containing the word "reader" - 3396 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Python challenge - 124 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
  • Number of attempts: 2
Learn some german verbs - 450 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
  • Number of attempts: 6
Subnetting - 79 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 29
  • Number of attempts: 1
Array propagate - 268 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 23
  • Number of attempts: 8
Team names - 1751 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 4
From A to B - 533 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 7
comments galore - 942 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 1
Simple, Practical, and Common - 32559 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
  • Number of attempts: 3
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
  • Number of attempts: 3
V to the i - 4577 entries

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

  • Best score: 7
  • Best player score: 7
  • 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
  • Number of attempts: 3
switch variable - 4856 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3

Contributed Challenges

Line under headers - 1832 entries

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

Python challenge - 124 entries

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

Subnetting - 79 entries

Split up the IP addresses in the right way.

Learn some german verbs - 450 entries

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

Team names - 1751 entries

The team names are misspelled.

Extract wireshark capture filter - 152 entries

Extract wireshark capture filter from IP plan

Aliases for cd - 758 entries

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

ssh config skills - 127 entries

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

Easy modification of ssh config - 78 entries

Just add another alias to each worker

Extend shell script - 36 entries

Just add some more stuff

Put a cross in the square - 33 entries

Put a cross in the square

Oskar Fridell
Twitter:

vim, bitcoin, running, biking, hiking

entered into 21 challenges

contributed 11 challenges