summaryrefslogtreecommitdiff
path: root/fnl/settings/keymaps.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/settings/keymaps.fnl')
-rw-r--r--fnl/settings/keymaps.fnl5
1 files changed, 1 insertions, 4 deletions
diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl
index b59f68f..04073c8 100644
--- a/fnl/settings/keymaps.fnl
+++ b/fnl/settings/keymaps.fnl
@@ -1,8 +1,5 @@
;; Custom keymappings.
-(fn map [mode lhs rhs opt]
- (vim.api.nvim_set_keymap mode lhs rhs opt))
-
(local opts {:noremap true :silent true})
(local mappings [;;Remap space as leader key
@@ -48,4 +45,4 @@
(each [_ mapping (ipairs mappings)]
(match mapping
- [mode key cmd] (map mode key cmd opts)))
+ [mode key cmd] (vim.api.nvim_set_keymap mode key cmd opts)))