File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export function autocompletion(config: CompletionConfig = {}): Extension {
29
29
30
30
/// Basic keybindings for autocompletion.
31
31
///
32
- /// - Ctrl-Space: [`startCompletion`](#autocomplete.startCompletion)
32
+ /// - Ctrl-Space (and Alt-\` on macOS) : [`startCompletion`](#autocomplete.startCompletion)
33
33
/// - Escape: [`closeCompletion`](#autocomplete.closeCompletion)
34
34
/// - ArrowDown: [`moveCompletionSelection`](#autocomplete.moveCompletionSelection)`(true)`
35
35
/// - ArrowUp: [`moveCompletionSelection`](#autocomplete.moveCompletionSelection)`(false)`
@@ -38,6 +38,7 @@ export function autocompletion(config: CompletionConfig = {}): Extension {
38
38
/// - Enter: [`acceptCompletion`](#autocomplete.acceptCompletion)
39
39
export const completionKeymap : readonly KeyBinding [ ] = [
40
40
{ key : "Ctrl-Space" , run : startCompletion } ,
41
+ { mac : "Alt-`" , run : startCompletion } ,
41
42
{ key : "Escape" , run : closeCompletion } ,
42
43
{ key : "ArrowDown" , run : moveCompletionSelection ( true ) } ,
43
44
{ key : "ArrowUp" , run : moveCompletionSelection ( false ) } ,
You can’t perform that action at this time.
0 commit comments