summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/spectre.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/spectre.fnl')
-rw-r--r--fnl/plugins/editor/spectre.fnl7
1 files changed, 6 insertions, 1 deletions
diff --git a/fnl/plugins/editor/spectre.fnl b/fnl/plugins/editor/spectre.fnl
index 92a33ba..526b196 100644
--- a/fnl/plugins/editor/spectre.fnl
+++ b/fnl/plugins/editor/spectre.fnl
@@ -51,4 +51,9 @@
:is_open_target_win true
:is_insert_mode false})
-{1 :windwp/nvim-spectre :event :BufReadPost : opts}
+{1 :windwp/nvim-spectre
+ :event :BufReadPost
+ :keys [{1 :<leader>rn 2 :<cmd>ReplaceInBuf<cr> :desc "Replace in Buffer"}
+ {1 :<leader>re 2 :<cmd>Replace<cr> :desc :Replace}
+ {1 :<leader>ri 2 :<cmd>ReplaceWord<cr> :desc "Replace Word"}]
+ : opts}