worse escape and better leap
This commit is contained in:
parent
45da5bef31
commit
e8511173ef
|
@ -31,6 +31,8 @@ local plugins = {
|
||||||
-- Install a plugin
|
-- Install a plugin
|
||||||
{
|
{
|
||||||
"max397574/better-escape.nvim",
|
"max397574/better-escape.nvim",
|
||||||
|
enabled = false,
|
||||||
|
-- exit insert mode with 'jk'
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
require("better_escape").setup()
|
require("better_escape").setup()
|
||||||
|
@ -50,6 +52,10 @@ local plugins = {
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("core.utils").load_mappings "leap"
|
require("core.utils").load_mappings "leap"
|
||||||
|
local leap = require "leap"
|
||||||
|
leap.opts.highlight_unlabeled_phase_one_targets = true
|
||||||
|
leap.opts.safe_labels = "sfnutwehjkl/SFNLHMUGTZ?"
|
||||||
|
leap.opts.labels = "sfnjklhodweimbuyvrgtaqpcxz?"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -59,7 +65,7 @@ local plugins = {
|
||||||
require("flit").setup {
|
require("flit").setup {
|
||||||
keys = { f = "f", F = "F", t = "t", T = "T" },
|
keys = { f = "f", F = "F", t = "t", T = "T" },
|
||||||
-- A string like "nv", "nvo", "o", etc.
|
-- A string like "nv", "nvo", "o", etc.
|
||||||
labeled_modes = "v",
|
labeled_modes = "nvo",
|
||||||
multiline = true,
|
multiline = true,
|
||||||
-- Like `leap`s similar argument (call-specific overrides).
|
-- Like `leap`s similar argument (call-specific overrides).
|
||||||
-- E.g.: opts = { equivalence_classes = {} }
|
-- E.g.: opts = { equivalence_classes = {} }
|
||||||
|
|
Loading…
Reference in New Issue