Add copy actions (#8)

* Add copy actions
* Add hotkeys to search box
This commit is contained in:
Erayd
2018-04-21 22:19:33 +12:00
committed by GitHub
parent b0d84370a0
commit 65f6748737
3 changed files with 59 additions and 0 deletions

View File

@@ -88,6 +88,13 @@ function view(ctl, params) {
case "Enter":
result.doAction("fill");
break;
case "KeyC":
if (e.ctrlKey) {
result.doAction(
e.shiftKey ? "copyUsername" : "copyPassword"
);
}
break;
case "KeyG":
result.doAction("launch");
break;