From 8c9fd24053bd41586612057b55f2bb6d89e00bb9 Mon Sep 17 00:00:00 2001 From: fm39hz-laptop Date: Tue, 16 Jul 2024 11:57:52 +0700 Subject: [PATCH] fix: fix better escape in lazygit and terminal --- lua/plugins/actions/escape.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/plugins/actions/escape.lua b/lua/plugins/actions/escape.lua index eb11925..575cd86 100644 --- a/lua/plugins/actions/escape.lua +++ b/lua/plugins/actions/escape.lua @@ -1,5 +1,11 @@ return { - "max397574/better-escape.nvim", - event = "InsertEnter", - opts = {}, + "max397574/better-escape.nvim", + event = "InsertEnter", + opts = { + default_mappings = true, + mappings = { + t = { j = { false } }, --lazygit navigation fix + v = { j = { k = false } }, -- visual select fix + }, + }, }