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 - 55 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 39
  • Position: #6 / 20
  • Number of attempts: 4
Easy modification of ssh config - 135 entries

Just add another alias to each worker

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

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

  • Best score: 41
  • Best player score: 43
  • Position: #9 / 38
  • Number of attempts: 7
Rural Post - 3717 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #7 / 918
  • Number of attempts: 6
Satisfy the go linter - 1519 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 / 314
  • Number of attempts: 6
Multiline to Single Line - 325 entries

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

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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #234 / 414
  • Number of attempts: 3
Simple, Practical, and Common - 32746 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 / 7235
  • Number of attempts: 3
Swap values - 4390 entries

Well, swap the values...

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

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

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

Just give me the numbers.

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

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #641 / 2954
  • Number of attempts: 3
Box it - 7622 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #385 / 1819
  • Number of attempts: 6
Just the middle - 11074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #844 / 4088
  • Number of attempts: 3
Learn some german verbs - 486 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 / 121
  • Number of attempts: 2
Subnetting - 88 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 29
  • Position: #9 / 30
  • Number of attempts: 7
Acute accents - 31 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 / 23
  • Number of attempts: 3
Vice versa - 7414 entries

Little role switching.

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

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

  • Best score: 30
  • Best player score: 58
  • Position: #109 / 156
  • Number of attempts: 1
Generate a list of numbers - 269 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 15
  • Position: #80 / 127
  • Number of attempts: 2
Python challenge - 128 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 / 39
  • Number of attempts: 5
I forgot quotes - 15639 entries

Oops.

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1092 / 3626
  • Number of attempts: 5
Santa's naughty / nice list - 75 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: #13 / 22
  • Number of attempts: 3
maximun and minimun - 50 entries

Find the maximum and minimum of the rows.

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

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

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

http://t.co/VUDfzo7Q9f

entered into 27 challenges

contributed 0 challenges