mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(leap): add o to labeled_modes for delete operator
Also change alternative leap mappings from `gz` to more convenient `ga`
This commit is contained in:
parent
ec5981dfb1
commit
9cce19862e
1 changed files with 9 additions and 9 deletions
|
|
@ -14,7 +14,7 @@ return {
|
|||
end
|
||||
return ret
|
||||
end,
|
||||
opts = { labeled_modes = "nx" },
|
||||
opts = { labeled_modes = "nxo" },
|
||||
},
|
||||
{
|
||||
"ggandor/leap.nvim",
|
||||
|
|
@ -41,17 +41,17 @@ return {
|
|||
optional = true,
|
||||
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`
|
||||
add = "gaa", -- Add surrounding in Normal and Visual modes
|
||||
delete = "gad", -- Delete surrounding
|
||||
find = "gaf", -- Find surrounding (to the right)
|
||||
find_left = "gaF", -- Find surrounding (to the left)
|
||||
highlight = "gah", -- Highlight surrounding
|
||||
replace = "gar", -- Replace surrounding
|
||||
update_n_lines = "gan", -- Update `n_lines`
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "gz", "", desc = "+surround" },
|
||||
{ "ga", "", desc = "+surround" },
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue