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

Sort entries based on date

Sort some entries in a Ledger-file based on date.

Start file
10.09.2011 Description
  Some
  Stuff

15.09.2011 * Anything really
  Random
  Stuff

12.10.2011 Nice
  Not
  Kidding

12.09.2011 Whatever
  Anything
  Can
  Be
  Here

14.09.2011 Cool
  But
  It's always
  Indented

13.09.2011 Testing
  Always
  2 spaces

End file
10.09.2011 Description
  Some
  Stuff

12.09.2011 Whatever
  Anything
  Can
  Be
  Here

13.09.2011 Testing
  Always
  2 spaces

14.09.2011 Cool
  But
  It's always
  Indented

15.09.2011 * Anything really
  Random
  Stuff

12.10.2011 Nice
  Not
  Kidding

View Diff

5,12d4
< 15.09.2011 * Anything really
<   Random
<   Stuff
< 
< 12.10.2011 Nice
<   Not
<   Kidding
< 
18a11,14
> 13.09.2011 Testing
>   Always
>   2 spaces
> 
24,26c20,26
< 13.09.2011 Testing
<   Always
<   2 spaces
---
> 15.09.2011 * Anything really
>   Random
>   Stuff
> 
> 12.10.2011 Nice
>   Not
>   Kidding

Solutions by @russellzhaomao:

Unlock 10 remaining solutions by signing in and submitting your own entry
Created by: @judofyr

117 active golfers, 392 entries

Solutions by @russellzhaomao:
11
#43 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:06PM

12
#>66 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:06PM

13
#>73 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:05PM

14
#>79 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:04PM

15
#>85 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:03PM

16
#>87 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:03PM

17
#>93 - russellzhaomao / @russellzhaomao

05/31/2022 at 01:02PM

18
#>96 - russellzhaomao / @russellzhaomao

05/31/2022 at 11:04AM

20
#>105 - russellzhaomao / @russellzhaomao

05/31/2022 at 11:03AM

21
#>105 - russellzhaomao / @russellzhaomao

05/31/2022 at 11:00AM