MCPcopy Index your code
hub / github.com/Acode-Foundation/Acode / applyCommandKeymap

Function applyCommandKeymap

src/cm/commandRegistry.js:1705–1712  ·  view source on GitHub ↗
(view, bindings = cachedKeymap)

Source from the content-addressed store, hash-verified

1703}
1704
1705function applyCommandKeymap(view, bindings = cachedKeymap) {
1706 if (!view) return;
1707 view.dispatch({
1708 effects: commandKeymapCompartment.reconfigure(
1709 keymap.of(bindings ?? cachedKeymap),
1710 ),
1711 });
1712}

Callers 2

setKeyBindingsFunction · 0.85
refreshCommandKeymapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected