Keyboard Shortcuts · zeruniverse/Password-Manager Wiki · GitHub
Skip to content
Zeyu Zhao edited this page May 24, 2026 · 2 revisions

Keyboard Shortcuts

Keyboard shortcuts are provided by the frontend plugin:

src/frontend/js/plugins/keyboardshortcuts.js

In v11.08, the plugin is loaded from:

src/frontend/password.html

Do not follow old instructions that mention password.php.

User shortcuts

Current default shortcuts:

Key Action
? Show keyboard shortcut help
/ Focus the search input
a Show the add-entry dialog
h Go to the previous page of the password table
l Go to the next page of the password table

Shortcuts are ignored while typing in input fields or textareas.

Disable keyboard shortcuts

Edit:

src/frontend/password.html

Remove or comment out:

<script src="js/plugins/keyboardshortcuts.js"></script>

Redeploy the frontend and clear browser cache.

Customize shortcuts

You can edit:

src/frontend/js/plugins/keyboardshortcuts.js

or create another plugin loaded after it.

Example:

keyboardShortcuts['98'] = {
    "action": "click",
    "element": "#pwdlist_next > a",
    "description": "Go to next page"
};

This registers b, whose ASCII code is 98.

Supported actions include:

  • modal
  • focus
  • click

Example action meanings:

var actions = {
    "focus": function (element) {
        $(element).focus();
    },
    "click": function (element) {
        $(element).click();
    },
    "modal": function (element) {
        $(element).modal();
    }
};

Security note

Keyboard-shortcut customization is frontend JavaScript. Only deploy shortcut plugins that you trust.

Clone this wiki locally