This commit is contained in:
Adrian Wilkins 2026-06-04 17:42:48 +00:00 committed by GitHub
commit a087499828
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,9 +29,9 @@ return {
for k, v in pairs(opts) do
leap.opts[k] = v
end
leap.add_default_mappings(true)
vim.keymap.del({ "x", "o" }, "x")
vim.keymap.del({ "x", "o" }, "X")
vim.keymap.set({ "n", "x", "o" }, "s", "<Plug>(leap-forward)")
vim.keymap.set({ "n", "x", "o" }, "S", "<Plug>(leap-backward)")
vim.keymap.set("n", "gs", "<Plug>(leap-from-window)")
end,
},