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

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

  • Best score: 12
  • Best player score: 19
  • Position: #695 / 840
  • Number of attempts: 1
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2600 / 3042
  • Number of attempts: 1
Box it - 7818 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1474 / 1861
  • Number of attempts: 1
Search and Replace 0 - 4790 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #1200 / 1585
  • Number of attempts: 3
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2849 / 4160
  • Number of attempts: 4
Team names - 1805 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 20
  • Position: #487 / 581
  • Number of attempts: 1
Vice versa - 7778 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1375 / 2095
  • Number of attempts: 4
One to Ten - 2159 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: #518 / 660
  • Number of attempts: 2
Around the clock - 188 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: #57 / 74
  • Number of attempts: 2
citizen_hacks_2019_challenge6 - 59 entries

For the Citizen Hacks 2019 Vim competition.

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

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #104 / 147
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10616 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2389 / 3663
  • Number of attempts: 2
Reverse Simple Deletion - 832 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #344 / 454
  • 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