fix: ctrl+enter on linux
This commit is contained in:
parent
29082808cb
commit
1b04243af6
1 changed files with 4 additions and 1 deletions
|
|
@ -24,8 +24,11 @@ const keymaps = {
|
|||
vscode: vscodeExtension,
|
||||
};
|
||||
|
||||
// filter out Mod-Enter to fix linux ctrl+enter
|
||||
const _defaultKeymap = defaultKeymap.filter((kb) => kb.key !== 'Mod-Enter');
|
||||
|
||||
export function keybindings(name) {
|
||||
const active = keymaps[name];
|
||||
return [keymap.of(defaultKeymap), keymap.of(historyKeymap), active ? active() : []];
|
||||
return [keymap.of(_defaultKeymap), keymap.of(historyKeymap), active ? active() : []];
|
||||
// keymap.of(searchKeymap),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue