From 31fceada01cadce0dafe126029961c41e74abdd4 Mon Sep 17 00:00:00 2001 From: ZaneFerns360 Date: Tue, 17 Sep 2024 09:39:25 +0530 Subject: [PATCH] fixes --- lua/custom/plugins/navigation.lua | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lua/custom/plugins/navigation.lua b/lua/custom/plugins/navigation.lua index b3f85000..6dd17356 100644 --- a/lua/custom/plugins/navigation.lua +++ b/lua/custom/plugins/navigation.lua @@ -5,10 +5,24 @@ local navigation = { 'max397574/better-escape.nvim', event = 'VeryLazy', config = function() - require('better_escape').setup() + require('better_escape').setup { + timeout = vim.o.timeoutlen, + default_mappings = false, -- disable default mappings + mappings = { + i = { + j = { + k = '', + j = '', + }, + k = { + k = '', + j = '', + }, + }, + }, + } end, }, - { 'christoomey/vim-tmux-navigator', cmd = {