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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 57
  • Position: #14 / 44
  • Number of attempts: 5
Reformat symbols in list - 207 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 20
  • Best player score: 27
  • Position: #22 / 54
  • Number of attempts: 3
Fizzbuzz - 74 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 59
  • Position: #10 / 29
  • Number of attempts: 4
Substraction (bis) - 179 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 22
  • Best player score: 34
  • Position: #28 / 47
  • Number of attempts: 5
Poorly indented Python comments - 572 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 21
  • Position: #31 / 106
  • Number of attempts: 8
Many duplicates - 406 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #97 / 146
  • Number of attempts: 1
2 quick changes and a numbered list - 258 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 37
  • Position: #10 / 69
  • Number of attempts: 9
delete swap - 489 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #85 / 167
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 637 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 30
  • Position: #36 / 149
  • Number of attempts: 6
Fix the shell script! - 1082 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 27
  • Position: #62 / 281
  • Number of attempts: 5
Visual block training - 474 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 23
  • Position: #36 / 100
  • Number of attempts: 4
Put a newline after every 10 lines in vim - 995 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #255 / 351
  • Number of attempts: 1
hello-world-vimgolf - 1581 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #262 / 455
  • Number of attempts: 1
Contribute to keyboard mashing - 639 entries

Speak in tongues

  • Best score: 17
  • Best player score: 19
  • Position: #109 / 193
  • Number of attempts: 2
Fill in the chess board - 560 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 35
  • Position: #61 / 120
  • Number of attempts: 3
Learn to ask for :help - 422 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 23
  • Position: #24 / 94
  • Number of attempts: 9
Transpose a python matrix - 607 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 34
  • Position: #38 / 108
  • Number of attempts: 16
Modernise code - 885 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 35
  • Position: #66 / 200
  • Number of attempts: 5
Enumerate Bullets - 206 entries

We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!

  • Best score: 20
  • Best player score: 29
  • Position: #36 / 54
  • Number of attempts: 2
swap number pairs - 1515 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 26
  • Position: #151 / 291
  • Number of attempts: 2
HS Final exam vimgolf - 685 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 22
  • Position: #65 / 183
  • Number of attempts: 3
Easy modification of ssh config - 218 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 26
  • Position: #35 / 67
  • Number of attempts: 4
ssh config skills - 219 entries

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

  • Best score: 41
  • Best player score: 48
  • Position: #23 / 54
  • Number of attempts: 2
Simple, Practical, and Common - 32972 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: #2360 / 7278
  • Number of attempts: 5
satetheus-vimgolf
Twitter:

entered into 24 challenges

contributed 0 challenges