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

Sudoku table

Make this simple sudoku table look nice and legible.

Start file
536917284
287543691
419286357
621798435
358124976
974635812
142879563
863451729
795362148
End file
   - - -   - - -   - - -
 | 5 3 6 | 9 1 7 | 2 8 4 |
 | 2 8 7 | 5 4 3 | 6 9 1 |
 | 4 1 9 | 2 8 6 | 3 5 7 |
   - - -   - - -   - - -
 | 6 2 1 | 7 9 8 | 4 3 5 |
 | 3 5 8 | 1 2 4 | 9 7 6 |
 | 9 7 4 | 6 3 5 | 8 1 2 |
   - - -   - - -   - - -
 | 1 4 2 | 8 7 9 | 5 6 3 |
 | 8 6 3 | 4 5 1 | 7 2 9 |
 | 7 9 5 | 3 6 2 | 1 4 8 |
   - - -   - - -   - - -  

View Diff

diff --git a/input.file b/output.file
index 5811fdc..6e176f0 100644
--- a/input.file
+++ b/output.file
@@ -1,9 +1,13 @@
-536917284
-287543691
-419286357
-621798435
-358124976
-974635812
-142879563
-863451729
-795362148
+   - - -   - - -   - - -
+ | 5 3 6 | 9 1 7 | 2 8 4 |
+ | 2 8 7 | 5 4 3 | 6 9 1 |
+ | 4 1 9 | 2 8 6 | 3 5 7 |
+   - - -   - - -   - - -
+ | 6 2 1 | 7 9 8 | 4 3 5 |
+ | 3 5 8 | 1 2 4 | 9 7 6 |
+ | 9 7 4 | 6 3 5 | 8 1 2 |
+   - - -   - - -   - - -
+ | 1 4 2 | 8 7 9 | 5 6 3 |
+ | 8 6 3 | 4 5 1 | 7 2 9 |
+ | 7 9 5 | 3 6 2 | 1 4 8 |
+   - - -   - - -   - - -  

Solutions by @antichrist65535:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @alimoeeny

31 active golfers, 70 entries

Solutions by @antichrist65535:
49
#7 - Tim White / @antichrist65535

01/30/2019 at 01:30PM

50
#>8 - Tim White / @antichrist65535

01/30/2019 at 12:22PM

51
#>11 - Tim White / @antichrist65535

01/30/2019 at 11:11AM