Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Format blacklist consistently like keymap
Browse files Browse the repository at this point in the history
Issue #1365
  • Loading branch information
pablosichert committed Nov 22, 2017
1 parent 9933b1a commit 569d4af
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/shortcuts/blacklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ const mods = [
];

export default Object.entries(Object.assign(...mods.map(mod => ({
[`${mod}+c`]: 'Copy',
[`${mod}+f`]: 'Search',
[`${mod}+h`]: 'History',
[`${mod}+l`]: 'Focus address bar',
[`${mod}+n`]: 'New window',
[`${mod}+t`]: 'New tab',
[`${mod}+v`]: 'Paste',
[`${mod}+w`]: 'Close tab'
[`${mod}+C`]: 'Copy',
[`${mod}+F`]: 'Search',
[`${mod}+H`]: 'History',
[`${mod}+L`]: 'Focus address bar',
[`${mod}+N`]: 'New window',
[`${mod}+T`]: 'New tab',
[`${mod}+V`]: 'Paste',
[`${mod}+W`]: 'Close tab'
})))).reduce((blacklist, pair) => {
const [key, value] = pair;

Expand Down

0 comments on commit 569d4af

Please sign in to comment.