feat: add Ctrl-Enter to send specific string in wezterm.

This commit is contained in:
Gea-Suan Lin
2025-03-04 06:25:32 +08:00
parent 6e66bee022
commit 26a5aeca74

View File

@@ -14,6 +14,11 @@ config.initial_cols = 132
config.initial_rows = 43 config.initial_rows = 43
config.line_height = 1.0 config.line_height = 1.0
config.keys = { config.keys = {
{
key = 'Enter',
mods = 'CTRL',
action = act.SendString '\x1b[13;5u',
},
{ {
key = 'Insert', key = 'Insert',
mods = 'SHIFT', mods = 'SHIFT',