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

Just add some more stuff

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

Just add another alias to each worker

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

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

  • Best score: 41
  • Best player score: 43
  • Position: #10 / 44
  • Number of attempts: 7
Rural Post - 3886 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #7 / 962
  • Number of attempts: 6
Satisfy the go linter - 1809 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 / 362
  • Number of attempts: 6
Multiline to Single Line - 408 entries

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

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

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #234 / 460
  • Number of attempts: 3
Simple, Practical, and Common - 32803 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 / 7246
  • Number of attempts: 3
Swap values - 4415 entries

Well, swap the values...

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

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

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

Just give me the numbers.

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

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

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

Simply add a semicolon at the end of each line

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

Create a box around a line.

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #844 / 4100
  • Number of attempts: 3
Learn some german verbs - 495 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 / 123
  • Number of attempts: 2
Subnetting - 94 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 29
  • Position: #9 / 31
  • 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 - 7491 entries

Little role switching.

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

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

  • Best score: 30
  • Best player score: 58
  • Position: #110 / 157
  • 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 - 140 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 / 41
  • Number of attempts: 5
I forgot quotes - 15702 entries

Oops.

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1092 / 3632
  • Number of attempts: 5
Santa's naughty / nice list - 77 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: #14 / 23
  • Number of attempts: 3
maximun and minimun - 52 entries

Find the maximum and minimum of the rows.

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

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

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

http://t.co/VUDfzo7Q9f

entered into 27 challenges

contributed 0 challenges