From 8bf1ea1d4ab48fd3e84f0a8a9fc7a3b91f13eaca Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 4 Sep 2017 09:59:22 +0300 Subject: [PATCH] feature(key) add ability to pack files with Alt + F5 --- HELP.md | 1 + client/key.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/HELP.md b/HELP.md index 4d456d20..537f0c96 100644 --- a/HELP.md +++ b/HELP.md @@ -135,6 +135,7 @@ Hot keys | `F4` | edit | `Shift + F4` | edit in `vim` mode | `F5` | copy +| `Alt` + `F5` | pack | `F6` | rename/move | `F7` | new directory | `Shift + F7` | new file diff --git a/client/key.js b/client/key.js index 0b0c3db3..9ee14eb9 100644 --- a/client/key.js +++ b/client/key.js @@ -311,6 +311,8 @@ function KeyProto() { case Key.F5: if (ctrlMeta) CloudCmd.sortPanel('date'); + else if (alt) + Operation.show('pack'); else Operation.show('copy');