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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 48
  • Position: #22 / 397
  • Number of attempts: 7
Reformat symbols in list - 1470 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #5 / 323
  • Number of attempts: 12
Fizzbuzz - 510 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 47
  • Position: #8 / 157
  • Number of attempts: 7
Substraction (bis) - 578 entries

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

  • Best score: 21
  • Best player score: 22
  • Position: #10 / 107
  • Number of attempts: 12
Many duplicates - 1253 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #10 / 412
  • Number of attempts: 6
2 quick changes and a numbered list - 599 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: #11 / 145
  • Number of attempts: 10
delete swap - 1526 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #89 / 479
  • Number of attempts: 5
Generate a very basic Python constructor (fixed) - 1178 entries

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

  • Best score: 29
  • Best player score: 35
  • Position: #77 / 247
  • Number of attempts: 1
Fix the shell script! - 2344 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 34
  • Position: #284 / 542
  • Number of attempts: 3
Visual block training - 1001 entries

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

  • Best score: 17
  • Best player score: 42
  • Position: #112 / 183
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 1578 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #24 / 525
  • Number of attempts: 6
Java to JavaScript - 257 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 121
  • Position: #59 / 67
  • Number of attempts: 1
Wikitext headings to markdown - 980 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 44
  • Position: #158 / 203
  • Number of attempts: 4
hello-world-vimgolf - 2361 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #204 / 667
  • Number of attempts: 7
Contribute to keyboard mashing - 841 entries

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #39 / 257
  • Number of attempts: 5
Plotting some variables in python - 1567 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 34
  • Position: #41 / 334
  • Number of attempts: 15
Александр Черенков
Twitter:

entered into 16 challenges

contributed 0 challenges