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

Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 22
  • Number of attempts: 2
Box it - 4486 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 4
Team names - 1539 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 1
Swap values - 3790 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 2
Vice versa - 6313 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 2
-a-b-c- - 2716 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9782 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
I forgot quotes - 12879 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 2
citizen_hacks_2019_challenge5 - 78 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Number of attempts: 1
switch variable - 4453 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 1
Words in parens - 11444 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Just the middle - 9765 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 4
Simple, Practical, and Common - 27199 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 28
  • Number of attempts: 1
Collect List - 3634 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
Delete to the end of the current line - 565 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
citizen_hacks_2019_challenge6 - 34 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Number of attempts: 1
One number per line - 14419 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 5
Word frequency alignment - 204 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
Number Sort - 255 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
remove lines containing the word "reader" - 2259 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 3
Add semicolons - 4852 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 3
BESSENG A IREH Guy
Twitter:

entered into 21 challenges

contributed 0 challenges