summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/config/init.fnl1
-rw-r--r--fnl/config/vim-slash.fnl4
-rw-r--r--fnl/plugins.fnl1
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 {}}