From 2e3c359d9a4863f8755203679e305d87f8192bab Mon Sep 17 00:00:00 2001 From: Secret Specter Date: Tue, 1 Aug 2023 20:31:58 -0600 Subject: [PATCH] a gemwiki plugin blossoms... --- fnl/init.fnl | 2 -- fnl/personalize.fnl | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fnl/init.fnl b/fnl/init.fnl index b474431..11081d1 100644 --- a/fnl/init.fnl +++ b/fnl/init.fnl @@ -15,7 +15,6 @@ "https://github.com/preservim/vim-markdown" "https://github.com/richardbizik/nvim-toc" "https://github.com/nvim-lua/plenary.nvim" - ;TODO want gemwiki "https://github.com/serenevoid/kiwi.nvim" {:url "https://github.com/neovim/nvim-lspconfig" :dependencies ["https://github.com/williamboman/mason.nvim" :williamboman/mason-lspconfig.nvim @@ -54,4 +53,3 @@ ;TODO (require :setup-paredit) (require :setup-mason) (require :setup-cmp) -(require :setup-kiwi) diff --git a/fnl/personalize.fnl b/fnl/personalize.fnl index 76a24ea..da33e5c 100644 --- a/fnl/personalize.fnl +++ b/fnl/personalize.fnl @@ -13,8 +13,13 @@ (let [nmap #(vim.keymap.set [:n] $1 $2 {:desc $3})] (nmap : ":bnext" "Next Buffer") (nmap : ":bprevious" "Previous Buffer") - (nmap :x ":write|bdelete" "Save and delete buffer") (nmap : ":Telescope find_files" "Telescope find_files") + (nmap :x ":write|bdelete" "Save and delete buffer") + (nmap :dt + #(vim.cmd (.. "edit ~/gemwiki/diary/" + (os.date "%Y%m%d") + ".gmi") + "Open today's diary")) (let [duck (require :duck)] (nmap :dd #(duck.hatch) "hatch a duck") (nmap :dk #(duck.cook) "cook a duck"))