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"))