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 4fca76aad3a0d4000100007e

Calculate the table totals

Go ahead... commit the treachery of using vim as a spreadsheet.

Start file
+--------------+--------+----------+---------+
| Item         | Cost   | Amount   | Total   |
+==============+========+==========+=========+
| Apple        | 2.00   | 3        |         |
+--------------+--------+----------+---------+
| Orange       | 2.50   | 4        |         |
+--------------+--------+----------+---------+
| Banana       | 1.00   | 6        |         |
+--------------+--------+----------+---------+
| Kiwi         | 7.00   | 5        |         |
+--------------+--------+----------+---------+
| Mango        | 5.00   | 2        |         |
+--------------+--------+----------+---------+
| Plum         | 4.00   | 9        |         |
+--------------+--------+----------+---------+
| Nectarine    | 3.50   | 7        |         |
+--------------+--------+----------+---------+
| Watermelon   | 5.00   | 3        |         |
+--------------+--------+----------+---------+
| Grapes       | 4.00   | 2        |         |
+--------------+--------+----------+---------+
| Tangerine    | 5.00   | 6        |         |
+--------------+--------+----------+---------+
End file
+--------------+--------+----------+---------+
| Item         | Cost   | Amount   | Total   |
+==============+========+==========+=========+
| Apple        | 2.00   | 3        |    6.00 |
+--------------+--------+----------+---------+
| Orange       | 2.50   | 4        |   10.00 |
+--------------+--------+----------+---------+
| Banana       | 1.00   | 6        |    6.00 |
+--------------+--------+----------+---------+
| Kiwi         | 7.00   | 5        |   35.00 |
+--------------+--------+----------+---------+
| Mango        | 5.00   | 2        |   10.00 |
+--------------+--------+----------+---------+
| Plum         | 4.00   | 9        |   36.00 |
+--------------+--------+----------+---------+
| Nectarine    | 3.50   | 7        |   24.50 |
+--------------+--------+----------+---------+
| Watermelon   | 5.00   | 3        |   15.00 |
+--------------+--------+----------+---------+
| Grapes       | 4.00   | 2        |    8.00 |
+--------------+--------+----------+---------+
| Tangerine    | 5.00   | 6        |   30.00 |
+--------------+--------+----------+---------+

View Diff

4c4
< | Apple        | 2.00   | 3        |         |
---
> | Apple        | 2.00   | 3        |    6.00 |
6c6
< | Orange       | 2.50   | 4        |         |
---
> | Orange       | 2.50   | 4        |   10.00 |
8c8
< | Banana       | 1.00   | 6        |         |
---
> | Banana       | 1.00   | 6        |    6.00 |
10c10
< | Kiwi         | 7.00   | 5        |         |
---
> | Kiwi         | 7.00   | 5        |   35.00 |
12c12
< | Mango        | 5.00   | 2        |         |
---
> | Mango        | 5.00   | 2        |   10.00 |
14c14
< | Plum         | 4.00   | 9        |         |
---
> | Plum         | 4.00   | 9        |   36.00 |
16c16
< | Nectarine    | 3.50   | 7        |         |
---
> | Nectarine    | 3.50   | 7        |   24.50 |
18c18
< | Watermelon   | 5.00   | 3        |         |
---
> | Watermelon   | 5.00   | 3        |   15.00 |
20c20
< | Grapes       | 4.00   | 2        |         |
---
> | Grapes       | 4.00   | 2        |    8.00 |
22c22
< | Tangerine    | 5.00   | 6        |         |
---
> | Tangerine    | 5.00   | 6        |   30.00 |

Solutions by @SuperGarbage0:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @connermcd

45 active golfers, 146 entries

Solutions by @SuperGarbage0:
51
#25 - Super Garbage / @SuperGarbage0

08/26/2013 at 12:27AM

77
#>36 - Super Garbage / @SuperGarbage0

08/19/2013 at 01:19AM