Created
February 6, 2023 18:49
-
-
Save moonexpr/7bd54b8c4e49d0d1371a00509025d725 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Setup data | |
let meditations = { 'mon': 'sunlight visual', 'tue': 'appreciation', 'wed': 'noting technique', 'thu': 'loving-kindness meditation', 'fri': 'body awareness', } | |
" Play with our data | |
let meditations.mon = '- cancelled - ' | |
" Present our data with style! | |
echom "Meditation schedule" | |
echom "-------------------" | |
let medi_items = reverse(items(meditations)) | |
for dup in medi_items | |
echom dup[0] . ": " . dup[1] | |
endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment