diff --git a/HELP.md b/HELP.md index 2ec743a8..057d04a7 100644 --- a/HELP.md +++ b/HELP.md @@ -172,6 +172,7 @@ Hot keys | `F5` | copy | `Alt` + `F5` | pack | `F6` | rename/move +| `Shift` + `F6` | rename current file | `F7` | new directory | `Shift + F7` | new file | `F8`, `Delete` | remove diff --git a/client/key/index.js b/client/key/index.js index 627400a4..82156cdf 100644 --- a/client/key/index.js +++ b/client/key/index.js @@ -228,6 +228,8 @@ function KeyProto() { case Key.F6: if (ctrlMeta) CloudCmd.sortPanel('size'); + else if (shift) + DOM.renameCurrent(current); else Operation.show('move');