summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-05 02:53:25 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-05 02:53:25 +0100
commit07187fdefc8b67c8a0efcf1ad7d26ce121318029 (patch)
tree0c1c80b6cf58ea470df9358a3a7b79351ca8a101 /fnl
parent28fb5cdbc3523194f4d684a334babeab2769ad2a (diff)
Load spectre on keys
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins.fnl4
1 files changed, 3 insertions, 1 deletions
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index 7f51cee..2ac1795 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -107,7 +107,9 @@
:config (fn []
(require :config.flit))}
{1 :windwp/nvim-spectre
- :event :VeryLazy
+ :keys [{1 :<leader>rw 2 :ReplaceWord :desc "Replace Word"}
+ {1 :<leader>rr 2 :Replace :desc :Replace}
+ {1 :<leader>rf 2 :ReplaceInBuf :desc "Replace in Buffer"}]
:config (fn []
(require :config.spectre))}
{1 :junegunn/vim-slash