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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 72
  • Position: #206 / 404
  • Number of attempts: 1
Reformat symbols in list - 1507 entries

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

  • Best score: 24
  • Best player score: 55
  • Position: #309 / 334
  • Number of attempts: 1
delete swap - 1650 entries

delete all swap

  • Best score: 5
  • Best player score: 15
  • Position: #476 / 514
  • Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1231 entries

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

  • Best score: 29
  • Best player score: 64
  • Position: #228 / 260
  • Number of attempts: 1
Fix the shell script! - 2428 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 36
  • Position: #341 / 566
  • Number of attempts: 1
Visual block training - 1047 entries

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

  • Best score: 17
  • Best player score: 56
  • Position: #152 / 195
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1648 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #460 / 550
  • Number of attempts: 1
Wikitext headings to markdown - 985 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 33
  • Position: #147 / 207
  • Number of attempts: 1
hello-world-vimgolf - 2472 entries

Simple number generation

  • Best score: 10
  • Best player score: 16
  • Position: #576 / 699
  • Number of attempts: 1
Van
Twitter:

Science addicted!

entered into 9 challenges

contributed 0 challenges