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

Put a cross in the square

  • Best score: 20
  • Best player score: 20
  • Position: #5 / 42
  • Number of attempts: 2
Extend shell script - 66 entries

Just add some more stuff

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

Just add another alias to each worker

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

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

  • Best score: 41
  • Best player score: 46
  • Position: #16 / 42
  • Number of attempts: 3
Simple, Practical, and Common - 32781 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: #3185 / 7242
  • Number of attempts: 3
Aliases for cd - 787 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: #34 / 143
  • Number of attempts: 3
V to the i - 4617 entries

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

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

easy stuff

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

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 26
  • Position: #14 / 56
  • Number of attempts: 3
Box it - 7661 entries

Create a box around a line.

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

Complete the array with the keys as part of the value

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

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #10 / 566
  • Number of attempts: 4
Learn some german verbs - 495 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 / 123
  • Number of attempts: 6
Subnetting - 94 entries

Split up the IP addresses in the right way.

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

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #234 / 408
  • Number of attempts: 1
Python challenge - 132 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: #11 / 40
  • Number of attempts: 2
Line under headers - 1890 entries

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

  • Best score: 24
  • Best player score: 27
  • Position: #77 / 466
  • Number of attempts: 2
From A to B - 539 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 16
  • Position: #43 / 150
  • Number of attempts: 7
Remove hard line breaks - 51 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 / 27
  • Number of attempts: 3
Untangle my tail, please! - 47 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 / 28
  • Number of attempts: 3
switch variable - 4881 entries

how fast can you switch two variable ?

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

Contributed Challenges

Line under headers - 1890 entries

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

Python challenge - 132 entries

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

Subnetting - 94 entries

Split up the IP addresses in the right way.

Learn some german verbs - 495 entries

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

Team names - 1767 entries

The team names are misspelled.

Extract wireshark capture filter - 171 entries

Extract wireshark capture filter from IP plan

Aliases for cd - 787 entries

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

ssh config skills - 173 entries

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

Easy modification of ssh config - 166 entries

Just add another alias to each worker

Extend shell script - 66 entries

Just add some more stuff

Put a cross in the square - 91 entries

Put a cross in the square

Oskar Fridell
Twitter:

#bitcoin, running 🌲🍉⚡️ 0275d0eeffb915a8b9ecb26c3d5992756b4c0e870b147a820c18b8a1a4572ef9a6@7ipsr6ywfi45l6awuigjpyseafd4z4fqwrojixd5t4jdprll42cg4oad.onion:9735

entered into 21 challenges

contributed 11 challenges