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

Just add some more stuff

  • Best score: 37
  • Best player score: 39
  • Position: #12 / 50
  • Number of attempts: 4
Easy modification of ssh config - 406 entries

Just add another alias to each worker

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

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

  • Best score: 41
  • Best player score: 43
  • Position: #16 / 69
  • Number of attempts: 7
Rural Post - 4602 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #7 / 1124
  • Number of attempts: 6
Satisfy the go linter - 2487 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 / 496
  • Number of attempts: 6
Multiline to Single Line - 754 entries

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

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

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #235 / 537
  • Number of attempts: 3
Simple, Practical, and Common - 34012 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 / 7513
  • Number of attempts: 3
Swap values - 4705 entries

Well, swap the values...

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

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

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

Just give me the numbers.

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

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

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

Simply add a semicolon at the end of each line

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

Create a box around a line.

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #844 / 4255
  • Number of attempts: 3
Learn some german verbs - 553 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 / 137
  • Number of attempts: 2
Subnetting - 146 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 29
  • Position: #9 / 42
  • Number of attempts: 7
Acute accents - 42 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 / 28
  • Number of attempts: 3
Vice versa - 8019 entries

Little role switching.

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

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

  • Best score: 30
  • Best player score: 58
  • Position: #115 / 167
  • Number of attempts: 1
Generate a list of numbers - 312 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 15
  • Position: #91 / 144
  • Number of attempts: 2
Python challenge - 211 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 / 51
  • Number of attempts: 5
I forgot quotes - 16237 entries

Oops.

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1092 / 3716
  • Number of attempts: 5
Santa's naughty / nice list - 113 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: #19 / 29
  • Number of attempts: 3
maximun and minimun - 88 entries

Find the maximum and minimum of the rows.

  • Best score: 50
  • Best player score: 53
  • Position: #13 / 28
  • Number of attempts: 4
Alphabet soup - 467 entries

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

  • Best score: 25
  • Best player score: 26
  • Position: #40 / 113
  • Number of attempts: 8
Jan
Twitter:

entered into 27 challenges

contributed 0 challenges