An electron-based WIP aesthetic file explorer ^^
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FileKade/scripts/keybinds/handle.js

9 lines
241 B

const mousetrap = require('../dep/mousetrap');
const binds = require('../../json/shortcuts.json');
module.exports = () => {
Object.keys(binds).forEach((bind) => {
mousetrap.bind(bind, require(`./${binds[bind]}.js`));
});
};