Added in keyboard shortcut.

This commit is contained in:
Adam Harrison 2021-05-01 01:33:01 -04:00
parent 272067124d
commit a66e1f1559
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
-- Takes the following pattern: /pattern/replace/
-- Capture groupings can be replaced using \1 through \9
@ -51,3 +52,6 @@ command.add("core.docview", {
initial_regex_replace = pattern
end) end
})
keymap.add { ["ctrl+shift+r"] = "regex:find-replace" }