Skip to main content

editor.leap

To use this, add it to your lazy.nvim imports:

lua/config/lazy.lua
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.editor.leap" },
{ import = "plugins" },
},
})

flit.nvim

easily jump to any location and enhanced f/t motions for Leap

opts = { labeled_modes = "nx" }

leap.nvim

opts = {}

mini.surround

rename surround mappings from gs to gz to prevent conflict with leap

opts = {
mappings = {
add = "gza", -- Add surrounding in Normal and Visual modes
delete = "gzd", -- Delete surrounding
find = "gzf", -- Find surrounding (to the right)
find_left = "gzF", -- Find surrounding (to the left)
highlight = "gzh", -- Highlight surrounding
replace = "gzr", -- Replace surrounding
update_n_lines = "gzn", -- Update `n_lines`
},
}

vim-repeat

makes some plugins dot-repeatable like leap

opts = nil