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

Todo list specification - 287 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 40
  • Number of attempts: 3
One to Ten - 603 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 2
For all cases. - 102 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 8
  • Number of attempts: 1
Simple, Practical, and Common - 23277 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: 25
  • Number of attempts: 4
Convert Application Output to CSV - 66 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 19
  • Number of attempts: 1
Increment each number - 324 entries

Increment each number individually by one

  • Best score: 6
  • Best player score: 20
  • Number of attempts: 2
One number per line - 11719 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 1
Add Go XML to structure tags - 127 entries

The Go programming language can directly map XML to structure fields. Add the correct XML tag after each field.

  • Best score: 24
  • Best player score: 33
  • Number of attempts: 2
From argument to object - 1037 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 21
  • Number of attempts: 2
Un"finnish"ed Work - 101 entries

Replace å by a, ä by a and ö by o.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 2
Delete to the end of the current line - 351 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
multiple cursor alternative - 1001 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: 23
  • Number of attempts: 3
Build a six - 149 entries

Just enjoy building "a" floors...

  • Best score: 22
  • Best player score: 23
  • Number of attempts: 2
Derek Schrock
Twitter:

FreeBSD and Linux System Admin

entered into 13 challenges

contributed 0 challenges