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

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: 34
  • Position: #6275 / 7238
  • Number of attempts: 1
Get mail address from outlook format - 549 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 42
  • Position: #169 / 170
  • Number of attempts: 1
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: 22
  • Position: #1259 / 1427
  • Number of attempts: 3
One number per line - 18255 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3364 / 3765
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1070 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 58
  • Position: #217 / 224
  • Number of attempts: 1
Add semicolons - 10448 entries

Simply add a semicolon at the end of each line

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

easy stuff

  • Best score: 9
  • Best player score: 12
  • Position: #910 / 1110
  • Number of attempts: 2
Copy three lines - 2755 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 29
  • Position: #580 / 618
  • Number of attempts: 1
Just the middle - 11076 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3532 / 4089
  • Number of attempts: 2
Saransh Barua
Twitter:

UI engineer with an eagle eye for detail. Currently into gaming analytics. I love beautifully crafted music, animations, monuments, websites, tattoos. Anything.

entered into 9 challenges

contributed 0 challenges