mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 11:22:23 +00:00
13 lines
419 B
Fennel
13 lines
419 B
Fennel
(module util
|
|
{require {a aniseed.core
|
|
nvim aniseed.nvim}
|
|
require-macros [macros]})
|
|
|
|
(defn noremap [mode from to]
|
|
"Sets a mapping with {:noremap true :silent true}."
|
|
(nvim.set_keymap mode from to {:noremap true :silent true}))
|
|
|
|
(defn mapexpr [mode from to]
|
|
"Sets a mapping with {:noremap true :silent true :expr true}."
|
|
(nvim.set_keymap mode from to {:noremap true :silent true :expr true}))
|
|
|