refactor(plugins/toggleterm): map 2×ESC to normal
This commit is contained in:
parent
a9ff9ef5dc
commit
0086f94aac
1 changed files with 6 additions and 0 deletions
|
|
@ -73,5 +73,11 @@ _:
|
||||||
action = "<Esc><Cmd>ToggleTerm<CR>";
|
action = "<Esc><Cmd>ToggleTerm<CR>";
|
||||||
options.desc = "Toggle terminal";
|
options.desc = "Toggle terminal";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<Esc><Esc>";
|
||||||
|
action = "<C-\\><C-n>";
|
||||||
|
options.desc = "Switch to normal mode";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue