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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2639 / 3087
  • Number of attempts: 1
Box it - 7987 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1503 / 1895
  • Number of attempts: 1
Search and Replace 0 - 5042 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #1245 / 1643
  • Number of attempts: 3
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2864 / 4234
  • 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 - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1397 / 2147
  • 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 - 212 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: #61 / 79
  • Number of attempts: 2
citizen_hacks_2019_challenge6 - 67 entries

For the Citizen Hacks 2019 Vim competition.

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

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #110 / 153
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

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