This commit is contained in:
ZaneFerns360 2024-09-17 09:39:25 +05:30
parent e0c6d50448
commit 31fceada01
1 changed files with 16 additions and 2 deletions

View File

@ -5,10 +5,24 @@ local navigation = {
'max397574/better-escape.nvim', 'max397574/better-escape.nvim',
event = 'VeryLazy', event = 'VeryLazy',
config = function() config = function()
require('better_escape').setup() require('better_escape').setup {
timeout = vim.o.timeoutlen,
default_mappings = false, -- disable default mappings
mappings = {
i = {
j = {
k = '<Esc>',
j = '<Esc>',
},
k = {
k = '<Esc>',
j = '<Esc>',
},
},
},
}
end, end,
}, },
{ {
'christoomey/vim-tmux-navigator', 'christoomey/vim-tmux-navigator',
cmd = { cmd = {