refactor(plugins/toggleterm): map 2×ESC to normal

This commit is contained in:
Nicolas Goudry 2024-06-12 08:08:57 +02:00
parent a9ff9ef5dc
commit 0086f94aac
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44

View file

@ -73,5 +73,11 @@ _:
action = "<Esc><Cmd>ToggleTerm<CR>";
options.desc = "Toggle terminal";
}
{
mode = "t";
key = "<Esc><Esc>";
action = "<C-\\><C-n>";
options.desc = "Switch to normal mode";
}
];
}