nvim-config/fnl/setup-kiwi.fnl

6 lines
263 B
Plaintext
Raw Normal View History

2023-07-30 20:41:04 +00:00
(let [kiwi (require :kiwi)
nmap #(vim.keymap.set [:n] $1 $2 {:desc (.. "[kiwi]" $3)})]
(nmap :<leader>ww kiwi.open_wiki_index "Open wiki")
(nmap :<leader>wd kiwi.open_diary_index "Open diary")
(nmap :<leader>wn kiwi.open_diary_new "New diary entry"))