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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 70
  • Position: #201 / 418
  • Number of attempts: 3
Fix the shell script! - 2605 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 47
  • Position: #477 / 606
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1664 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 15
  • Position: #460 / 559
  • Number of attempts: 2
Inverting Lines - 1923 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 19
  • Position: #460 / 516
  • Number of attempts: 2
Modernise code - 1409 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 56
  • Position: #269 / 325
  • Number of attempts: 2
Extend shell script - 137 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 99
  • Position: #44 / 47
  • Number of attempts: 1
Easy modification of ssh config - 382 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 43
  • Position: #88 / 115
  • Number of attempts: 3
ssh config skills - 258 entries

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

  • Best score: 41
  • Best player score: 96
  • Position: #57 / 66
  • Number of attempts: 3
Simple, Practical, and Common - 33757 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: 31
  • Position: #5729 / 7450
  • Number of attempts: 3
Hogwarts Email Sorting - 930 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 34
  • Position: #241 / 263
  • Number of attempts: 2
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2313 / 3877
  • Number of attempts: 1
citizen_hacks_2019_challenge2 - 200 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #68 / 103
  • Number of attempts: 5
Applying same text modification in several lines - 2900 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 20
  • Position: #725 / 859
  • Number of attempts: 1
citizen_hacks_2019_challenge3 - 39 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 4
  • Best player score: 4
  • Position: #34 / 36
  • Number of attempts: 1
Extract wireshark capture filter - 218 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 49
  • Position: #70 / 73
  • Number of attempts: 2
citizen_hacks_2019_part4 - 23 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 37
  • Best player score: 77
  • Position: #12 / 12
  • Number of attempts: 1
Every other line - 2922 entries

AaAaAaA

  • Best score: 12
  • Best player score: 22
  • Position: #656 / 706
  • Number of attempts: 3
citizen_hacks_2019_challenge4 - 99 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 5
  • Position: #55 / 66
  • Number of attempts: 4
Fix the XML - 1039 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 43
  • Position: #281 / 290
  • Number of attempts: 1
abcd > a b c d - 298 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #193 / 227
  • Number of attempts: 3
citizen_hacks_2019_challenge1 - 53 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 5
  • Best player score: 5
  • Position: #31 / 45
  • Number of attempts: 3
Simple text editing with Vim - 13092 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2577 / 3765
  • Number of attempts: 3
Никита Семёнов
Twitter:

entered into 22 challenges

contributed 0 challenges