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 transposition - 1852 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 28
  • Number of attempts: 2
Simple, Practical, and Common - 28946 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: 19
prepend * to every non-blank line - 1248 entries

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

  • Best score: 10
  • Best player score: 30
  • Number of attempts: 1
Box it - 5513 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 11
Resort and deup a CSV list - 122 entries

I'm always adding items to a sorted list. There has to be a better way dedup and resort the lists. There are multiple lists with varying lengths to discourage manual sorting. Also Australia's animals are weird.

  • Best score: 44
  • Best player score: 70
  • Number of attempts: 2
Add semicolons - 6835 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 3
I forgot quotes - 13787 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
A HAPPY NEW YEAR 2014 ! - 9976 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Vice versa - 6685 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
multiple cursor alternative - 1296 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 20
  • Number of attempts: 6
Applying same text modification in several lines - 2306 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 7
html paragraph to table - 496 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 73
  • Number of attempts: 3
One number per line - 15643 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 9
Team names - 1598 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 4
Just the middle - 10121 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Words in parens - 11818 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 5
Com(m)a Trouble - 2559 entries

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

  • Best score: 12
  • Best player score: 24
  • Number of attempts: 12
Two pairs of cluster of letters creates word - 584 entries

Clean and group.

  • Best score: 17
  • Best player score: 19
  • Number of attempts: 5
Kim Hwa Joong
Twitter:

😀🥕🌶️🥒🥑🍕💻⌨️

entered into 18 challenges

contributed 0 challenges