Skip to content

Commit

Permalink
Desktop: Actually enter insert mode after pressing o/O in CodeMirror …
Browse files Browse the repository at this point in the history
…vim mode (#3897)
  • Loading branch information
CalebJohn authored Oct 12, 2020
1 parent 987890b commit 3c0b9ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3c0b9ee

Please sign in to comment.