How to use the atom-keymap/lib/keymap-manager function in atom-keymap

To help you get started, we’ve selected a few atom-keymap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github picturama / picturama / src / ui / keymap-manager.js View on Github external
const bind = el => {
  keymaps = new KeymapManager();
  keymaps.defaultTarget = el;
  keymaps.loadKeymap(`${config.keymapsFolder}/linux.json`);

  document.addEventListener('keydown', eventListener);
};

atom-keymap

Atom's DOM-aware keymap module

MIT
Latest version published 3 years ago

Package Health Score

45 / 100
Full package analysis

Similar packages