diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-08 02:49:49 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-08 02:49:49 +0100 |
commit | 86fc163e549d78136855ac2b45e91ffb2f43affc (patch) | |
tree | 20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/vim-slash.fnl | |
parent | 0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff) |
Refactor config loading
Diffstat (limited to 'fnl/config/vim-slash.fnl')
-rw-r--r-- | fnl/config/vim-slash.fnl | 6 |
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"))} |