MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / setKeyBindings

Function setKeyBindings

src/cm/commandRegistry.js:1577–1582  ·  view source on GitHub ↗
(view)

Source from the content-addressed store, hash-verified

1575}
1576
1577export async function setKeyBindings(view) {
1578 await loadCustomKeyBindings();
1579 const bindings = rebuildKeymap();
1580 const resolvedView = resolveView(view);
1581 applyCommandKeymap(resolvedView, bindings);
1582}
1583
1584async function loadCustomKeyBindings() {
1585 try {

Callers 1

main.jsFile · 0.90

Calls 4

loadCustomKeyBindingsFunction · 0.85
rebuildKeymapFunction · 0.85
resolveViewFunction · 0.85
applyCommandKeymapFunction · 0.85

Tested by

no test coverage detected