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

Applying same text modification in several lines - 2915 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 19
  • Position: #716 / 863
  • Number of attempts: 1
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2637 / 3085
  • Number of attempts: 1
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1499 / 1891
  • Number of attempts: 1
Search and Replace 0 - 5031 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1242 / 1638
  • Number of attempts: 3
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2862 / 4230
  • Number of attempts: 4
Team names - 1848 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 20
  • Position: #495 / 592
  • Number of attempts: 1
Vice versa - 7974 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1396 / 2146
  • Number of attempts: 4
One to Ten - 2241 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 15
  • Position: #533 / 682
  • Number of attempts: 2
Around the clock - 199 entries

You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes

  • Best score: 13
  • Best player score: 15
  • Position: #60 / 77
  • Number of attempts: 2
citizen_hacks_2019_challenge6 - 66 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Position: #19 / 52
  • Number of attempts: 1
Join 'em - 252 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #109 / 152
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2409 / 3700
  • Number of attempts: 2
Reverse Simple Deletion - 862 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #348 / 463
  • Number of attempts: 1
Noel Evans
Twitter:

Python programmer living in London. Interests: Python, swimming, triathlons, Hemingway, Orwell + HST

entered into 13 challenges

contributed 0 challenges