mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
664 B
17 lines
664 B
8 months ago
|
return {
|
||
|
-- improved movement
|
||
|
{
|
||
|
"ggandor/leap.nvim",
|
||
|
config = function()
|
||
|
require("leap").create_default_mappings()
|
||
|
require("leap").opts.highlight_unlabeled_phase_one_targets = true
|
||
|
require("leap").opts.equivalence_classes = { " \t\r\n", "([{", ")]}", "'\"`" }
|
||
|
require("leap").opts.special_keys.prev_target = "<backspace>"
|
||
|
require("leap").opts.special_keys.prev_group = "<backspace>"
|
||
|
require("leap.user").set_repeat_keys("<enter>", "<backspace>")
|
||
|
require("leap").opts.safe_labels = "sfnut/SFNLHMUGTZ?"
|
||
|
require("leap").opts.labels = "sfnjklhodweimbuyvrgtaqpcxz/SFNJKLHODWEIMBUYVRGTAQPCXZ?"
|
||
|
end,
|
||
|
},
|
||
|
}
|