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

Line under headers - 990 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 25
  • Best player score: 30
  • Number of attempts: 1
Simple, Practical, and Common - 27809 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
Basic renumbering - 4893 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 22
  • Number of attempts: 2
Numbering a List - 1755 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 22
  • Number of attempts: 1
Box it - 4888 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 4
One number per line - 14870 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 5
From argument to object - 1179 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 19
  • Number of attempts: 1
remove lines containing the word "reader" - 2394 entries

easy stuff

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 3
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
citizen_hacks_2019_challenge2 - 136 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Number of attempts: 2
citizen_hacks_2019_challenge6 - 35 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 3
  • Number of attempts: 1
switch variable - 4483 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 1
Delete to the end of the current line - 580 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
V to the i - 4194 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
change parenthesis - 211 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Just the middle - 9896 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 4
Words in parens - 11597 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
citizen_hacks_2019_challenge5 - 88 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Number of attempts: 1
Collect List - 3678 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
-a-b-c- - 2768 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 1
I forgot quotes - 13210 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 2
Search and Replace 0 - 4292 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9848 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
Vice versa - 6438 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 2
Swap values - 3895 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 2
Number Sort - 257 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
Team names - 1576 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 1
Cool or not? - 584 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 1
BESSENG A IREH Guy
Twitter:

entered into 29 challenges

contributed 0 challenges