a gemwiki plugin blossoms...

This commit is contained in:
secretspecter 2023-08-01 20:31:58 -06:00
parent 00774486ca
commit 2e3c359d9a
2 changed files with 6 additions and 3 deletions

View file

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

View file

@ -13,8 +13,13 @@
(let [nmap #(vim.keymap.set [:n] $1 $2 {:desc $3})]
(nmap :<Tab> ":bnext<CR>" "Next Buffer")
(nmap :<S-Tab> ":bprevious<CR>" "Previous Buffer")
(nmap :<leader>x ":write|bdelete<CR>" "Save and delete buffer")
(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/"
(os.date "%Y%m%d")
".gmi")
"Open today's diary"))
(let [duck (require :duck)]
(nmap :<leader>dd #(duck.hatch) "hatch a duck")
(nmap :<leader>dk #(duck.cook) "cook a duck"))