mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
feature: cloudcmd: Ctrl + L: logout
This commit is contained in:
parent
48693d9e24
commit
2b3dc1573d
4 changed files with 11 additions and 1 deletions
2
.github/workflows/docker-io.yml
vendored
2
.github/workflows/docker-io.yml
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
name: Docker IO
|
name: Docker IO
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
jobs:
|
jobs:
|
||||||
buildx:
|
buildx:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
1
HELP.md
1
HELP.md
|
|
@ -186,6 +186,7 @@ Then, start the server again with `cloudcmd` and reload the page.
|
||||||
| `Ctrl + R` | refresh
|
| `Ctrl + R` | refresh
|
||||||
| `Ctrl + D` | clear local storage
|
| `Ctrl + D` | clear local storage
|
||||||
| `Ctrl + A` | select all files in a panel
|
| `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 + M` | [rename selected files](https://github.com/coderaiser/cloudcmd/releases/tag/v12.1.0) in editor
|
||||||
| `Ctrl + U` | swap panels
|
| `Ctrl + U` | swap panels
|
||||||
| `Ctrl + F3` | sort by name
|
| `Ctrl + F3` | sort by name
|
||||||
|
|
|
||||||
|
|
@ -442,6 +442,14 @@ async function _switchKey(event) {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case KEY.L:
|
||||||
|
if (ctrlMeta) {
|
||||||
|
CloudCmd.logOut();
|
||||||
|
event.preventDefault();
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
case KEY.M:
|
case KEY.M:
|
||||||
if (ctrlMeta) {
|
if (ctrlMeta) {
|
||||||
if (config('vim'))
|
if (config('vim'))
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ export const D = 68;
|
||||||
export const G = 71;
|
export const G = 71;
|
||||||
export const J = 74;
|
export const J = 74;
|
||||||
export const K = 75;
|
export const K = 75;
|
||||||
|
export const L = 76;
|
||||||
export const M = 77;
|
export const M = 77;
|
||||||
export const O = 79;
|
export const O = 79;
|
||||||
export const P = 80;
|
export const P = 80;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue