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

Array propagate - 263 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 31
  • Number of attempts: 1
Extract argument from function - 2127 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 2
Box it - 6018 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 41
  • Number of attempts: 1
Add semicolons - 7705 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 4
Collect List - 3879 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 2
Simple, Practical, and Common - 29781 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: 31
  • Number of attempts: 1
Words in parens - 11978 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 29
  • Number of attempts: 1
remove lines containing the word "reader" - 2800 entries

easy stuff

  • Best score: 9
  • Best player score: 13
  • Number of attempts: 7
Search and Replace 0 - 4434 entries

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

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 1
V to the i - 4335 entries

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

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 25
  • Number of attempts: 1
Simple text editing with Vim - 11003 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 7
Number Sort - 261 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
Append semicolon after expressions - 892 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 1
I forgot quotes - 14259 entries

Oops.

  • Best score: 10
  • Best player score: 23
  • Number of attempts: 1
Akshay Aurora
Twitter:

Databases and Distributed Systems @StonyBrookU • Ex-Microsoft

entered into 15 challenges

contributed 0 challenges