feature(key) add ability to rename file with Shift + F6

This commit is contained in:
coderaiser 2019-05-13 17:51:33 +03:00
parent eb4f7c0d7c
commit ffbb96301e
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -228,6 +228,8 @@ function KeyProto() {
case Key.F6:
if (ctrlMeta)
CloudCmd.sortPanel('size');
else if (shift)
DOM.renameCurrent(current);
else
Operation.show('move');