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

HS exam question - 467 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 49
  • Position: #20 / 115
  • Number of attempts: 15
Reformat symbols in list - 420 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 27
  • Position: #49 / 99
  • Number of attempts: 6
Data reformat - 241 entries

Reformat this copy-paste data! #csv

  • Best score: 38
  • Best player score: 38
  • Position: #5 / 57
  • Number of attempts: 9
xrandr outputs and dashes - 607 entries

uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!

  • Best score: 12
  • Best player score: 12
  • Position: #22 / 195
  • Number of attempts: 3
From a Thunderlink to a Markdown link - 704 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 18
  • Position: #18 / 156
  • Number of attempts: 13
Capitalize the Names - 322 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 21
  • Position: #18 / 81
  • Number of attempts: 6
Yo To Hello - 1059 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #106 / 485
  • Number of attempts: 3
Simple, Practical, and Common - 32983 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: 30
  • Position: #5245 / 7282
  • Number of attempts: 9
prepend * to every non-blank line - 6030 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #193 / 1477
  • Number of attempts: 3
Applying same text modification in several lines - 2763 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #607 / 818
  • Number of attempts: 1
Add semicolons - 10706 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1449 / 3012
  • Number of attempts: 3
remove lines containing the word "reader" - 3475 entries

easy stuff

  • Best score: 9
  • Best player score: 12
  • Position: #911 / 1125
  • Number of attempts: 3
Com(m)a Trouble - 3438 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 24
  • Position: #609 / 768
  • Number of attempts: 4
Box it - 7685 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1169 / 1837
  • Number of attempts: 4
Cool or not? - 761 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 23
  • Position: #177 / 216
  • Number of attempts: 3
The D a n k Side of the Moon - 40 entries

You're making a vaporwave cover of The Dark Side of the Moon. So for the tracklisting, you want to: 1. Change the track names to v a p o r c a s e 2. Double the track lengths (since you're slowing them down). Well... let's just double the minutes.

  • Best score: 40
  • Best player score: 54
  • Position: #11 / 14
  • Number of attempts: 2
Just the middle - 11261 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1388 / 4135
  • Number of attempts: 4
Learn some german verbs - 519 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 21
  • Best player score: 28
  • Position: #95 / 127
  • Number of attempts: 5
Missing Library and a Typo - 838 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 35
  • Position: #201 / 206
  • Number of attempts: 1
Adam's challenge - 917 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 20
  • Position: #126 / 258
  • Number of attempts: 4
One to Ten - 2113 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: 12
  • Position: #57 / 645
  • Number of attempts: 3
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1807 / 4119
  • Number of attempts: 5
Chris AtLee
Twitter:

entered into 22 challenges

contributed 0 challenges