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, Practical, and Common - 33757 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
  • Position: #1544 / 7450
  • Number of attempts: 10
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #913 / 3877
  • Number of attempts: 9
Applying same text modification in several lines - 2900 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #63 / 859
  • Number of attempts: 7
Add semicolons - 10891 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #274 / 3077
  • Number of attempts: 5
Preferably without multi-cursor plugin - 542 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
  • Position: #85 / 130
  • Number of attempts: 1
Just the middle - 11500 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1168 / 4216
  • Number of attempts: 2
Basic renumbering - 5685 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 21
  • Position: #935 / 1270
  • Number of attempts: 3
Vice versa - 7968 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1363 / 2144
  • Number of attempts: 2
convert yml into java pojo field - 859 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
  • Position: #199 / 228
  • Number of attempts: 1
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #803 / 4194
  • Number of attempts: 4
永森
Twitter:

健全なアカウントです

entered into 10 challenges

contributed 0 challenges