mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
feat(terminal): implement <c-\><c-o> for terminal mode
this works similar to <c-o> or <c-\><c-o> in insert mode
This commit is contained in:
@@ -6026,7 +6026,11 @@ int showmode(void)
|
||||
msg_puts_attr(_(" INSERT"), attr);
|
||||
} else if (restart_edit == 'I' || restart_edit == 'i'
|
||||
|| restart_edit == 'a' || restart_edit == 'A') {
|
||||
msg_puts_attr(_(" (insert)"), attr);
|
||||
if (curbuf->terminal) {
|
||||
msg_puts_attr(_(" (terminal)"), attr);
|
||||
} else {
|
||||
msg_puts_attr(_(" (insert)"), attr);
|
||||
}
|
||||
} else if (restart_edit == 'R') {
|
||||
msg_puts_attr(_(" (replace)"), attr);
|
||||
} else if (restart_edit == 'V') {
|
||||
|
Reference in New Issue
Block a user