better diary open command

This commit is contained in:
secretspecter 2023-08-03 21:05:30 -06:00
parent 840d4ab0c2
commit b2adb7cfcb

View file

@ -16,9 +16,10 @@
(nmap :<C-P> ":Telescope find_files<CR>" "Telescope find_files")
(nmap :<leader>x ":write|bdelete<CR>" "Save and delete buffer")
(nmap :<leader>dt
#(vim.cmd (.. "edit ~/gemwiki/diary/"
#(vim.cmd (.. "split ~/gemwiki/diary/"
(os.date "%Y%m%d")
".gmi")
".gmi"
"| resize 8 | $")
"Open today's diary"))
(let [duck (require :duck)]
(nmap :<leader>dd #(duck.hatch) "hatch a duck")