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

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

  • Best score: 12
  • Best player score: 19
  • Position: #710 / 856
  • Number of attempts: 1
Add semicolons - 10881 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 18
  • Position: #2626 / 3072
  • Number of attempts: 1
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 32
  • Position: #1492 / 1881
  • Number of attempts: 1
Search and Replace 0 - 5004 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #1236 / 1630
  • Number of attempts: 3
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2856 / 4209
  • Number of attempts: 4
Team names - 1841 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 20
  • Position: #492 / 589
  • Number of attempts: 1
Vice versa - 7945 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1393 / 2138
  • Number of attempts: 4
One to Ten - 2227 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: #530 / 677
  • 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 - 65 entries

For the Citizen Hacks 2019 Vim competition.

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

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #108 / 151
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10682 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2404 / 3689
  • Number of attempts: 2
Reverse Simple Deletion - 854 entries

You did the simple deletion, now reverse it.

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