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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 48
  • Position: #21 / 204
  • Number of attempts: 11
Reformat symbols in list - 662 entries

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

  • Best score: 24
  • Best player score: 24
  • Position: #25 / 150
  • Number of attempts: 12
Poorly indented Python comments - 747 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #29 / 142
  • Number of attempts: 17
Many duplicates - 610 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #153 / 212
  • Number of attempts: 4
delete swap - 740 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #162 / 253
  • Number of attempts: 7
Generate a very basic Python constructor (fixed) - 832 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: #47 / 183
  • Number of attempts: 17
Put a newline after every 10 lines in vim - 1163 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #293 / 401
  • Number of attempts: 4
Contribute to keyboard mashing - 692 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #87 / 214
  • Number of attempts: 3
simple replacements - 1177 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #68 / 262
  • Number of attempts: 11
Inverting Lines - 1447 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #181 / 396
  • Number of attempts: 11
Modernise code - 999 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 34
  • Position: #60 / 225
  • Number of attempts: 5
swap number pairs - 1675 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #50 / 313
  • Number of attempts: 10
Basic renumbering - 5477 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #267 / 1238
  • Number of attempts: 16
Word frequency alignment - 256 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #116 / 150
  • Number of attempts: 4
ky05uk3
Twitter:

AtCoder:緑 SU:M2 競プロ

entered into 14 challenges

contributed 0 challenges