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

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 22
  • Position: #65 / 182
  • Number of attempts: 1
Reformat symbols in list - 1658 entries

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

  • Best score: 24
  • Best player score: 27
  • Position: #128 / 357
  • Number of attempts: 4
Poorly indented Python comments - 1350 entries

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

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

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #77 / 484
  • Number of attempts: 1
2 quick changes and a numbered list - 661 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: #108 / 157
  • Number of attempts: 1
delete swap - 1912 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #34 / 580
  • Number of attempts: 2
Generate a very basic Python constructor (fixed) - 1295 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 / 278
  • Number of attempts: 3
Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 31
  • Position: #273 / 624
  • Number of attempts: 2
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 13
  • Position: #496 / 726
  • 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