Add <A-Esc> to escape terminal mode

This commit is contained in:
Antoine Vaure 2025-11-05 19:26:10 +01:00
parent 828b4219e9
commit 3610aba47a

View file

@ -32,6 +32,7 @@ s('n', '<leader>N', "<cmd> Neogit <cr>", { desc = "Open Neogit" })
-- s('x', 'p', 'p:let @+=@0<CR>:let @"=@0<CR>') -- s('x', 'p', 'p:let @+=@0<CR>:let @"=@0<CR>')
s('x', 'p', 'P') s('x', 'p', 'P')
s('n', 'gh', ":Ouroboros<cr>", { desc = "Go to header/implementation" }) s('n', 'gh', ":Ouroboros<cr>", { desc = "Go to header/implementation" })
s('t', '<A-Esc>', '<C-\\><C-n>', { desc = "Escape terminal mode"})
-- Luasnip -- Luasnip
local ls = require("luasnip") local ls = require("luasnip")