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