diff --git a/app/scripts/views/details/details-view.js b/app/scripts/views/details/details-view.js index e1070215..3d1006f6 100644 --- a/app/scripts/views/details/details-view.js +++ b/app/scripts/views/details/details-view.js @@ -73,6 +73,7 @@ class DetailsView extends View { ); this.onKey(Keys.DOM_VK_B, this.copyUserName, KeyHandler.SHORTCUT_ACTION); this.onKey(Keys.DOM_VK_U, this.copyUrl, KeyHandler.SHORTCUT_ACTION); + this.onKey(Keys.DOM_VK_2, this.copyOtp, KeyHandler.SHORTCUT_OPT); if (AutoType.enabled) { this.onKey(Keys.DOM_VK_T, () => this.autoType(), KeyHandler.SHORTCUT_ACTION); } diff --git a/app/templates/settings/settings-shortcuts.hbs b/app/templates/settings/settings-shortcuts.hbs index 568744e6..16f4c8e8 100644 --- a/app/templates/settings/settings-shortcuts.hbs +++ b/app/templates/settings/settings-shortcuts.hbs @@ -8,6 +8,7 @@
{{cmd}}C {{res 'setShCopyPass'}}
{{cmd}}B {{res 'setShCopyUser'}}
{{cmd}}U {{res 'setShCopyUrl'}}
+
{{alt}}2 {{res 'setShCopyOtp'}}
{{#if autoTypeSupported}}
{{cmd}}T {{res 'setShAutoType'}}
{{/if}} diff --git a/release-notes.md b/release-notes.md index ff783308..701d811a 100644 --- a/release-notes.md +++ b/release-notes.md @@ -3,6 +3,7 @@ Release notes ##### v1.16.0 (TBD) `-` fixed a performance issue in searching entries `*` improved the "Show all file" checkbox behavior +`+` shortcut to copy OTP ##### v1.15.7 (2020-09-12) `-` fix #1564: broken auto-type on some Linux installations