summaryrefslogtreecommitdiff
path: root/fnl/config/vim-slash.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
commit86fc163e549d78136855ac2b45e91ffb2f43affc (patch)
tree20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/vim-slash.fnl
parent0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff)
Refactor config loading
Diffstat (limited to 'fnl/config/vim-slash.fnl')
-rw-r--r--fnl/config/vim-slash.fnl6
1 files changed, 4 insertions, 2 deletions
diff --git a/fnl/config/vim-slash.fnl b/fnl/config/vim-slash.fnl
index 726ed8f..6f50ae4 100644
--- a/fnl/config/vim-slash.fnl
+++ b/fnl/config/vim-slash.fnl
@@ -1,4 +1,6 @@
;; Provides a set of mappings for enhancing in-buffer search experience.
-(module config.vim-slash)
-(vim.cmd "noremap <plug>(slash-after) zz")
+{1 :junegunn/vim-slash
+ :event :BufReadPost
+ :config (fn []
+ (vim.cmd "noremap <plug>(slash-after) zz"))}