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

Extend shell script - 103 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 39
  • Position: #8 / 42
  • Number of attempts: 4
Easy modification of ssh config - 335 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 24
  • Position: #2 / 104
  • Number of attempts: 2
ssh config skills - 249 entries

Parse output from `kuebctl get no -o wide` into an .ssh/config file!

  • Best score: 41
  • Best player score: 43
  • Position: #14 / 63
  • Number of attempts: 7
Rural Post - 4351 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Position: #7 / 1066
  • Number of attempts: 6
Satisfy the go linter - 2169 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 20
  • Position: #60 / 434
  • Number of attempts: 6
Multiline to Single Line - 596 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #84 / 268
  • Number of attempts: 1
Yo To Hello - 1107 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #234 / 512
  • Number of attempts: 3
Simple, Practical, and Common - 33353 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: #1599 / 7358
  • Number of attempts: 3
Swap values - 4535 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #259 / 1255
  • Number of attempts: 6
prepend * to every non-blank line - 6201 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #306 / 1514
  • Number of attempts: 4
One number per line - 18613 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #180 / 3841
  • Number of attempts: 8
V to the i - 4743 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #748 / 1878
  • Number of attempts: 3
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #640 / 3042
  • Number of attempts: 3
Box it - 7818 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #384 / 1861
  • Number of attempts: 6
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #844 / 4160
  • Number of attempts: 3
Learn some german verbs - 531 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 21
  • Best player score: 21
  • Position: #4 / 131
  • Number of attempts: 2
Subnetting - 111 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 29
  • Position: #9 / 36
  • Number of attempts: 7
Acute accents - 32 entries

Featuring all 17 lowercase letters with an acute accent digraph. Find a way to automate the digraphs.

  • Best score: 18
  • Best player score: 18
  • Position: #20 / 24
  • Number of attempts: 3
Vice versa - 7778 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #257 / 2095
  • Number of attempts: 9
C Reformatting - 688 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 58
  • Position: #112 / 161
  • Number of attempts: 1
Generate a list of numbers - 283 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 15
  • Position: #87 / 136
  • Number of attempts: 2
Python challenge - 147 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

  • Best score: 31
  • Best player score: 31
  • Position: #3 / 44
  • Number of attempts: 5
I forgot quotes - 15922 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #543 / 4159
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10616 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1092 / 3663
  • Number of attempts: 5
Santa's naughty / nice list - 78 entries

Christmas is here and Santa hasn't decided who's naughty or nice yet. He's given a list of names to his programmer friend to quickly split the children into naughty and nice. Hint: There's a hidden pattern that might be familiar.

  • Best score: 39
  • Best player score: 46
  • Position: #15 / 24
  • Number of attempts: 3
maximun and minimun - 57 entries

Find the maximum and minimum of the rows.

  • Best score: 51
  • Best player score: 53
  • Position: #10 / 24
  • Number of attempts: 4
Alphabet soup - 419 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 26
  • Position: #37 / 103
  • Number of attempts: 8
Jan Liu
Twitter:

http://t.co/VUDfzo7Q9f

entered into 27 challenges

contributed 0 challenges