diff --git a/browser/components/CodeEditor.js b/browser/components/CodeEditor.js index 27ee4271e..a554ffdf5 100644 --- a/browser/components/CodeEditor.js +++ b/browser/components/CodeEditor.js @@ -185,6 +185,9 @@ export default class CodeEditor extends React.Component { const expandSnippet = snippetManager.expandSnippet this.defaultKeyMap = CodeMirror.normalizeKeyMap({ + 'Ctrl-Space': function(cm) { + cm.showHint({ hint: CodeMirror.hint.anyword }) + }, Tab: function(cm) { const cursor = cm.getCursor() const line = cm.getLine(cursor.line) diff --git a/lib/main.development.html b/lib/main.development.html index d6216b7e5..1ee3393f0 100644 --- a/lib/main.development.html +++ b/lib/main.development.html @@ -11,6 +11,7 @@ + Boostnote @@ -133,6 +134,9 @@ + + + diff --git a/lib/main.production.html b/lib/main.production.html index 289fe1b39..fb75d8f01 100644 --- a/lib/main.production.html +++ b/lib/main.production.html @@ -11,6 +11,7 @@ + Boostnote @@ -129,6 +130,9 @@ + + +