Merge pull request #5589 from NadavTasher/feature/change-card-archive-shortcut

Opinion - Change archive-card shortcut to backtick for better ergonomics
This commit is contained in:
Lauri Ojansivu 2024-11-24 22:13:21 +02:00 committed by GitHub
commit 2c13d74c5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,7 @@ Mousetrap.bind('space', evt => {
} }
}); });
Mousetrap.bind('-', evt => { Mousetrap.bind('`', evt => {
const cardId = getSelectedCardId(); const cardId = getSelectedCardId();
if (!cardId) { if (!cardId) {
return; return;
@ -285,7 +285,7 @@ Template.keyboardShortcuts.helpers({
action: 'shortcut-assign-self', action: 'shortcut-assign-self',
}, },
{ {
keys: ['-'], keys: ['`'],
action: 'archive-card', action: 'archive-card',
}, },
{ {