summaryrefslogtreecommitdiff
path: root/fnl/config/vim-slash.fnl
diff options
context:
space:
mode:
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"))}