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:
bfredl
2022-07-30 22:07:58 +02:00
parent 0a049c322f
commit 9092540315
10 changed files with 86 additions and 16 deletions

View File

@@ -1223,10 +1223,10 @@ bool edit(int cmdchar, bool startln, long count)
// the value of `restart_edit` before `ex_normal` returns.
restart_edit = 'i';
force_restart_edit = true;
return false;
} else {
terminal_enter();
return terminal_enter();
}
return false;
}
// Don't allow inserting in the sandbox.