mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Desktop: Actually enter insert mode after pressing o/O in CodeMirror vim mode (#3897)
This commit is contained in:
parent
987890ba98
commit
3c0b9ee522
@ -141,7 +141,7 @@ export default function useListIdent(CodeMirror: any) {
|
||||
cm.setCursor({ line: anchor.line, ch: line.length });
|
||||
|
||||
cm.execCommand('insertListElement');
|
||||
cm.setOption('disableInput', true);
|
||||
CodeMirror.Vim.handleKey(cm, 'i', 'macro');
|
||||
};
|
||||
|
||||
CodeMirror.commands.insertListElement = function(cm: any) {
|
||||
|
Loading…
Reference in New Issue
Block a user