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

Format java properties - 63 entries

Format java properties to a different format. The value which is the string following the first '=' cannot & should not change. All periods in the key get replaced with an underscore "_" and get a prefix of "b_".

  • Best score: 27
  • Best player score: 32
  • Number of attempts: 1
Just the middle - 9687 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Sudoku table - 56 entries

Make this simple sudoku table look nice and legible.

  • Best score: 48
  • Best player score: 49
  • Number of attempts: 2
Vice versa - 6249 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
V to the i - 4117 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Adam's challenge - 832 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: 21
  • Number of attempts: 1
Condensed Cases - 700 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
One number per line - 14200 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 5
Restore order to the alphabet - 153 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
Basic renumbering - 4841 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 2
Collect List - 3621 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Simple, Practical, and Common - 26839 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: 22
  • Number of attempts: 7
PL
Twitter:

entered into 12 challenges

contributed 0 challenges