diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-17 00:08:43 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-17 00:08:43 +0100 |
commit | a48ba3f7dfe35c7ca622e63a72574134788d68c7 (patch) | |
tree | 0675dc0f5e950c8739b63da29568d083e9c1d057 /fnl/plugins/editor/spectre.fnl | |
parent | 10b175f252104458d7478d8a2822818850cfdf92 (diff) |
Update key mappings
Diffstat (limited to 'fnl/plugins/editor/spectre.fnl')
-rw-r--r-- | fnl/plugins/editor/spectre.fnl | 7 |
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} |