worse escape and better leap

This commit is contained in:
Christoph J. Scherr 2024-01-31 14:27:57 +01:00
parent 45da5bef31
commit e8511173ef
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 7 additions and 1 deletions

View File

@ -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 = {} }