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

Remove adjacent duplicates - 364 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 22
  • Position: #33 / 102
  • Number of attempts: 1
Reformat symbols in list - 1606 entries

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

  • Best score: 24
  • Best player score: 27
  • Position: #123 / 344
  • Number of attempts: 4
Poorly indented Python comments - 1313 entries

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

  • Best score: 15
  • Best player score: 15
  • Position: #6 / 220
  • Number of attempts: 8
Many duplicates - 1443 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #74 / 467
  • Number of attempts: 1
2 quick changes and a numbered list - 642 entries

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

  • Best score: 37
  • Best player score: 59
  • Position: #104 / 153
  • Number of attempts: 1
delete swap - 1768 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #34 / 548
  • Number of attempts: 2
Generate a very basic Python constructor (fixed) - 1253 entries

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

  • Best score: 29
  • Best player score: 29
  • Position: #24 / 271
  • Number of attempts: 3
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 31
  • Position: #258 / 589
  • Number of attempts: 2
hello-world-vimgolf - 2490 entries

Simple number generation

  • Best score: 10
  • Best player score: 13
  • Position: #483 / 705
  • Number of attempts: 1
Calum Smith
Twitter:

ˈkæ-lʌm smɪθ • https://t.co/BoNBalgvwl • CSS apologist at @fellowapp • https://t.co/OI0iiXe37j

entered into 9 challenges

contributed 0 challenges