summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-08-05 11:49:32 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-08-05 11:49:32 +0200
commit3039c66543e33d4c44064a4bf9a49234667ebd93 (patch)
treeedb39198faf194454fd5b393f3ef824e2ab62acb /fnl
parentb9690e31d15a6b9bc97c80a567a7fc02cd8f8849 (diff)
Add vim-slash
Diffstat (limited to 'fnl')
-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 {}}