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 - 24878 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: 28
  • Number of attempts: 2
Reorder the groups - 352 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 28
  • Number of attempts: 1
simple format - 2778 entries

make it look better.

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 10
remove lines containing the word "reader" - 1540 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 2
Add semicolons - 1318 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Box it - 2817 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 6
Basic renumbering - 4579 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Tables, Functions, Sprocs - 56 entries

In order to load some scripts into my database in the correct order I need to load tables first (t_), then functions (fn_), then stored procedures (sp_). The order of the t_ lines and the order of the sp_ lines should also match. Reorder the lines so they will load correctly.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Just the middle - 9167 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
ninja substitution - 493 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 9
One to Ten - 903 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: 4
Cool or not? - 443 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 7
I forgot quotes - 11707 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 1
html paragraph to table - 343 entries

reformat html paragraph to table

  • Best score: 7
  • Best player score: 54
  • Number of attempts: 8
One number per line - 12689 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 12
Paul Yates
Twitter:

I only use twitter for news.

entered into 15 challenges

contributed 0 challenges