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

Preferably without multi-cursor plugin - 320 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
Just the middle - 9656 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Resort and deup a CSV list - 119 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: 60
  • Number of attempts: 3
remove lines containing the word "reader" - 2153 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 1
V to the i - 4095 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 1
Two pairs of cluster of letters creates word - 506 entries

Clean and group.

  • Best score: 17
  • Best player score: 19
  • Number of attempts: 2
Applying same text modification in several lines - 1975 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 2
One number per line - 14098 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 3
I forgot quotes - 12694 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 1
One to Ten - 1251 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: 12
  • Number of attempts: 2
Cool or not? - 545 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 1
Box it - 4182 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 1
Rand Omperson
Twitter:

entered into 12 challenges

contributed 0 challenges