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 format - 1215 entries

make it look better.

  • Best score: 20
  • Best player score: 33
  • Number of attempts: 1
Simple, Practical, and Common - 21855 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: 2
  • Best player score: 22
  • Number of attempts: 9
Preferably without multi-cursor plugin - 178 entries

Originally asked as question on reddit by kpthunder: https://www.reddit.com/r/vim/comments/9fvsro/what_is_the_most_efficient_way_to_go_about/

  • Best score: 30
  • Best player score: 32
  • Number of attempts: 6
Vice versa - 5494 entries

Little role switching.

  • Best score: 2
  • Best player score: 17
  • Number of attempts: 1
Team names - 1277 entries

The team names are misspelled.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
swap or reverse - 87 entries

Try to swap or reverse the line as needed.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 2
Basic renumbering - 4214 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 14
  • Number of attempts: 8
Learn some german verbs - 326 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 11
  • Best player score: 28
  • Number of attempts: 1
Combines all items - 231 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
create arrows in a list - 62 entries

Add arrow at same distance

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 1
Words in parens - 10478 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Just the middle - 8609 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 9178 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Com(m)a Trouble - 872 entries

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

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 5
switch variable - 4148 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 12
  • Number of attempts: 3
Applying same text modification in several lines - 1028 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Angular naming conventions - 261 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 3
Number Sort - 220 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
One number per line - 10902 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 7
I forgot quotes - 10443 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 3
Steve Bitner
Twitter:

Bee

entered into 20 challenges

contributed 0 challenges