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

Add semicolons - 9626 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Applying same text modification in several lines - 2623 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
Preferably without multi-cursor plugin - 372 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: 37
  • Number of attempts: 1
convert yml into java pojo field - 784 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 37
  • Number of attempts: 1
One number per line - 17704 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 9
Vice versa - 7234 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 2
Simple, Practical, and Common - 32069 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: 10
Just the middle - 10910 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
I forgot quotes - 15283 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Basic renumbering - 5325 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 21
  • Number of attempts: 3
永森
Twitter:

健全なアカウントです

entered into 10 challenges

contributed 0 challenges