hyper/app/utils/keymaps/get-command.js

7 lines
191 B
JavaScript
Raw Normal View History

const {getKeymaps} = require('../../config');
const findCommandByKeys = require('./find-command-by-keys');
module.exports = keys => {
return findCommandByKeys(keys, getKeymaps().keys);
};