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

Data reformat - 207 entries

Reformat this copy-paste data! #csv

  • Best score: 38
  • Best player score: 38
  • Position: #5 / 50
  • Number of attempts: 9
xrandr outputs and dashes - 528 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 / 175
  • Number of attempts: 3
From a Thunderlink to a Markdown link - 606 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 / 137
  • Number of attempts: 13
Capitalize the Names - 254 entries

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

  • Best score: 3
  • Best player score: 21
  • Position: #19 / 66
  • Number of attempts: 6
Yo To Hello - 915 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #107 / 431
  • Number of attempts: 3
Simple, Practical, and Common - 32752 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: #5214 / 7238
  • Number of attempts: 9
prepend * to every non-blank line - 5800 entries

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

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

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

  • Best score: 12
  • Best player score: 17
  • Position: #595 / 804
  • Number of attempts: 1
Add semicolons - 10448 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1425 / 2958
  • Number of attempts: 3
remove lines containing the word "reader" - 3426 entries

easy stuff

  • Best score: 9
  • Best player score: 12
  • Position: #897 / 1110
  • Number of attempts: 3
Com(m)a Trouble - 3287 entries

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

  • Best score: 12
  • Best player score: 24
  • Position: #587 / 743
  • Number of attempts: 4
Box it - 7637 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1158 / 1824
  • Number of attempts: 4
Cool or not? - 744 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 23
  • Position: #174 / 213
  • Number of attempts: 3
The D a n k Side of the Moon - 38 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: #10 / 13
  • Number of attempts: 2
Just the middle - 11076 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1388 / 4089
  • Number of attempts: 4
Learn some german verbs - 491 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: #90 / 122
  • Number of attempts: 5
Missing Library and a Typo - 826 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: #197 / 202
  • Number of attempts: 1
Adam's challenge - 905 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: #125 / 253
  • Number of attempts: 4
One to Ten - 2063 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 / 631
  • Number of attempts: 3
I forgot quotes - 15647 entries

Oops.

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

entered into 20 challenges

contributed 0 challenges