diff --git a/.github/workflows/docker-io.yml b/.github/workflows/docker-io.yml index c6ba149a..beff4589 100644 --- a/.github/workflows/docker-io.yml +++ b/.github/workflows/docker-io.yml @@ -1,6 +1,6 @@ name: Docker IO on: - - push + - push jobs: buildx: runs-on: ubuntu-latest diff --git a/HELP.md b/HELP.md index 80b48d36..dbd28e67 100644 --- a/HELP.md +++ b/HELP.md @@ -186,6 +186,7 @@ Then, start the server again with `cloudcmd` and reload the page. | `Ctrl + R` | refresh | `Ctrl + D` | clear local storage | `Ctrl + A` | select all files in a panel +| `Ctrl + L` | logout | `Ctrl + M` | [rename selected files](https://github.com/coderaiser/cloudcmd/releases/tag/v12.1.0) in editor | `Ctrl + U` | swap panels | `Ctrl + F3` | sort by name diff --git a/client/key/index.js b/client/key/index.js index 31f659bc..6f55746c 100644 --- a/client/key/index.js +++ b/client/key/index.js @@ -442,6 +442,14 @@ async function _switchKey(event) { break; + case KEY.L: + if (ctrlMeta) { + CloudCmd.logOut(); + event.preventDefault(); + } + + break; + case KEY.M: if (ctrlMeta) { if (config('vim')) diff --git a/client/key/key.js b/client/key/key.js index 66120e74..6772e34c 100644 --- a/client/key/key.js +++ b/client/key/key.js @@ -22,6 +22,7 @@ export const D = 68; export const G = 71; export const J = 74; export const K = 75; +export const L = 76; export const M = 77; export const O = 79; export const P = 80;