diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-08-05 11:49:32 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-08-05 11:49:32 +0200 |
commit | 3039c66543e33d4c44064a4bf9a49234667ebd93 (patch) | |
tree | edb39198faf194454fd5b393f3ef824e2ab62acb | |
parent | b9690e31d15a6b9bc97c80a567a7fc02cd8f8849 (diff) |
Add vim-slash
-rw-r--r-- | fnl/config/init.fnl | 1 | ||||
-rw-r--r-- | fnl/config/vim-slash.fnl | 4 | ||||
-rw-r--r-- | fnl/plugins.fnl | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl index 4fe4484..7f459fd 100644 --- a/fnl/config/init.fnl +++ b/fnl/config/init.fnl @@ -29,4 +29,5 @@ config.minibar config.surround config.stay-in-place + config.vim-slash config.lsp]}) diff --git a/fnl/config/vim-slash.fnl b/fnl/config/vim-slash.fnl new file mode 100644 index 0000000..726ed8f --- /dev/null +++ b/fnl/config/vim-slash.fnl @@ -0,0 +1,4 @@ +;; Provides a set of mappings for enhancing in-buffer search experience. +(module config.vim-slash) + +(vim.cmd "noremap <plug>(slash-after) zz") diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 97e0552..a37b969 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -56,4 +56,5 @@ :williamboman/mason-lspconfig.nvim {} :s1n7ax/nvim-window-picker {} :gbprod/stay-in-place.nvim {} + :junegunn/vim-slash {} :kylechui/nvim-surround {}} |