Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
szzhiyang committed Mar 30, 2024
0 parents commit 2968e39
Show file tree
Hide file tree
Showing 19 changed files with 429 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
Binary file added Windows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: Power Keys
description: 解放电脑使用效率
lang: zh-CN
plugins:
- jekyll-redirect-from
- jemoji
50 changes: 50 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang='{{ site.lang | default: "en-US" }}'>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{%- seo -%}
<link rel="stylesheet" href='{{"/assets/css/style.css" | relative_url}}' />
<link
rel="icon"
type="image/png"
href='{{"/favicon.png" | relative_url}}'
/>
<link rel="apple-touch-icon" href='{{"/favicon.png" | relative_url}}' />
</head>

<header>
<div class="container-md px-3 my-5 markdown-body">
{% if page.url != '/' %}
<p>
<strong
><a href='{{ "/" | relative_url}}'
>&lt; {{ site.title | site.github.repository_name | escape }}</a
></strong
>
</p>
{% endif %}
</div>
</header>

<body>
<div class="container-md px-3 my-5 markdown-body">{{ content }}</div>
</body>

<footer>
<div class="container-md px-3 my-5 markdown-body">
{% if page.url != '/' %}
<p><br /></p>
<p>
<strong
><a href='{{ "/" | relative_url}}'
>&lt; {{ site.title | site.github.repository_name | escape }}</a
></strong
>
</p>
{% endif %}
<p><br /></p>
</div>
</footer>
</html>
39 changes: 39 additions & 0 deletions download.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: 免费下载
redirect_from:
- /Download
- /downloads
- /Downloads
---

## 免费下载 Power Keys

> 开启高效舒适的 Windows 和 macOS 使用体验
<br>

**如果你使用 Windows:**

1. 下载 [**Power Keys 12.3**](https://github.com/PowerKeys/PowerKeys/releases/download/latest/Power-Keys-x64.exe)

2. 将主程序添加到杀毒软件的白名单里(360 安全软件还必须禁用驱动防护)

3. 双击运行主程序,同意其提升权限

4. 右击 Power Keys 任务栏托盘图标以访问其所有菜单

5. 体验所有功能!

<br>

**如果你使用 macOS:**

1. 确保安装最新版 [**Karabiner-Elements**](https://karabiner-elements.pqrs.org/) 并根据其指引启用所需权限

2. Import 和 Enable [**Power Keys 5.0**](karabiner://karabiner/assets/complex_modifications/import?url=https://powerkeys.github.io/powerkeys.json)

3. 取消勾选系统输入法偏好设置的「使用大写锁定键切换“ABC”输入模式」

> 为确保 Power Keys 正常工作,你需要通过短按 caps lock 键切换大小写、shift 键切换中英文
4. 体验所有功能!
77 changes: 77 additions & 0 deletions faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
redirect_from: /FAQ
---

## 常见问题解答

> 常见问题,一网打尽
<br>

**为什么 [光速启动](/launcher)[光速切换](/multitask) 没起作用?**

- 因为你没有正确设置键盘的 [**Fn**](https://www.baidu.com/s?wd=Fn键) 模式。你必须能在不按 **`Fn`** 键的情况下使用 **`F1` ~ `F12`** 原本的功能,才能正常使用光速启动和光速切换。

<br>

**为什么 [空格编辑](/space) 某些键位的功能与帮助文档不相符?**

- 因为当前窗口的某些快捷键并不常规。在使用快捷键并不常规的窗口时,你应该只使用功能表现正常的空格编辑键位。

<br>

**为什么 Windows 版 Power Keys 每次运行都需要管理员权限?**

- 因为只有这样才能确保 Power Keys 的快捷键在任何软件下生效,从而为你带来最连贯的使用体验。

<br>

**为什么 Windows 版 Power Keys 的运行表现与帮助文档不相符?**

可能是因为:

- 你在不了解游戏模式的同时启用了它。请在 [了解游戏模式](/game) 后禁用它。

- 你使用了旧版本的 Power Keys。请将 Power Keys 更新到 [下载页面](/download) 所示的最新版本。

- 你的杀毒软件干扰了 Power Keys 的正常运行。请将 Power Keys 主程序添加到杀毒软件的白名单后重启 Power Keys。

> 如果你使用 360 安全软件,你必须额外禁用 360 驱动防护。
> 左击 Power Keys 的任务栏托盘图标即可重启 Power Keys,下同。
- 某些软件的快捷键与 Power Keys 相冲突。请关闭与 Power Keys 相冲突的软件后重启 Power Keys,或者临时启用 Power Keys 的 [游戏模式](/game)

- Power Keys 的快捷键出现了内部错乱。这是所有键盘脚本软件的通病,重启 Power Keys 即可解决。

<br>

**如何彻底卸载 Windows 版 Power Keys?**

1. 在 Power Keys 的任务栏托盘菜单中取消勾选「开机自启」

2. 退出 Power Keys

3. 删除以下项目:

- Power Keys 主程序

- `HKEY_CURRENT_USER\Software\szzhiyang\Power Keys` 注册表项

- `%LocalAppData%\Power Keys` 文件夹

> 该文件夹存放着你亲自配置的 [光速启动](/launcher) 项,请注意备份。
<br>

**如何彻底卸载 macOS 版 Power Keys?**

1. 打开 Karabiner-Elements,切换到 Complex Modifications 页面,移除 Power Keys

2. 如果你不再使用 Karabiner-Elements,则切换到 Uninstall 页面,然后卸载它

3. 在终端执行 `sudo rm /Applications/.powerkeys` 命令

4. 删除 `~/Library/Application Support/Power Keys` 文件夹

> 该文件夹存放着你亲自配置的 [光速启动](/launcher) 项,请注意备份。
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions game.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
redirect_from: /Game
---

## 游戏模式

> 心无旁骛地打游戏
> 只兼容 Windows
<br>

**`Win + Esc`** 即可切换游戏模式:

1. 单按 **`Win`** 键不会触发开始菜单

2.[**Win 键增强**](/win) 之外的 Power Keys 快捷键均会暂停
31 changes: 31 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Power Keys
description: 解放电脑使用效率
redirect_from: /404
---

## Power Keys

借助秩序井然、毫不冲突的快捷键

解放 Windows 和 macOS 使用效率

<br>

[**光速启动**](/launcher) <sup>「用快捷键启动任何东西」</sup>

[**空格编辑**](/space) <sup>「按住空格键即可移动打字光标」</sup>

[**光速切换**](/multitask) <sup>「指哪打哪地切换窗口」</sup>

[**数字秒输**](/numpad) <sup>「在主键区使用数字小键盘」</sup>

[**快捷键简化**](/simplify) <sup>「轻松按下复杂的快捷键」</sup>

[**Win 键增强**](/win) <sup>「切歌、清空回收站等」</sup>

[**游戏模式**](/game) <sup>「心无旁骛地打游戏」</sup>

<br>

**[免费下载](/download)&emsp;&emsp;&emsp;[答疑](/faq)&emsp;&emsp;&emsp;[作者](https://GitHub.com/szzhiyang)**
62 changes: 62 additions & 0 deletions launcher.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
redirect_from: /Launcher
---

## 光速启动

> 用毫不冲突的快捷键启动任何东西
> 兼容 Windows 和 macOS
<br>

你可以为任何东西分配形如 **`F1 ~ F12 + 字母或数字`** 的快捷键,而不影响 **`F1` ~ `F12`** 原本的功能,

例如:

<br>

| 快捷键 | 操作 |
| :------------------------------------------: | :-------------------------------------- |
| **`F6 + C`**<br>**`F6 + W`**<br>**`F6 + X`** | 启动 Chrome<br>启动 Word <br>启动 Excel |
| **`F6 + A`**<br>**`F6 + M`** | 前往 Apple 官网<br>前往 Microsoft 官网 |
| **`F6 + D`** | 同时打开「文档」和「桌面」文件夹 |

<br>

如需配置快捷键 **`F6 + C`** 对应的启动项,仅需:

1.**`F6 + Enter`** 打开 **`F6`** 文件夹

2. 将名称以 **`C`** 为首的 Windows 快捷方式或 [macOS 替身](https://support.apple.com/zh-cn/guide/mac-help/mchlp1046/mac) 放入 **`F6`** 文件夹

其他快捷键以此类推:

![光速启动](/macOS.png)

在 Windows 上,按住任一 **`F1` ~ `F12`** 不放,再按空格键即可关闭当前窗口或网页;

在 macOS 上,按住任一 **`F1` ~ `F12`** 不放,短按空格键即可关闭当前窗口或标签页,长按空格键即可退出当前 App。

<br>

巧用 **`F1` ~ `F12`** 归类启动项能为快捷键的分配和记忆带来显著便利,例如:

<br>

| 分区 | 启动项类别 |
| :--------------------- | :----------------------------------------------------------------------------------------------------------- |
| **`F1`**<br>**`F2`** | App(包括 UWP,可从开始菜单拖拽出来) |
| **`F3`**<br>**`F4`** | 文件和文件夹(包括 Windows 回收站和 macOS 废纸篓) |
| **`F5`**<br>**`F6`** | 网站 |
| **`F7`** | 游戏 |
| **`F8`** | Windows 控制面板项(可从控制面板主页拖拽出来)<br>macOS 偏好设置项(位于 `/System/Library/PreferencePanes`|
| **`F9`** | Microsoft Office<br>Apple iWork |
| **`F10`** | 任何格式的可执行脚本 |
| **`F11`**<br>**`F12`** | 开发工具 |

<br>

**你必须正确设置键盘的 [Fn](https://www.baidu.com/s?wd=Fn键) 模式,使得你能在不按 `Fn` 键的情况下使用 `F1` ~ `F12` 原本的功能,才能正常使用光速启动;**

如需临时禁用该功能,请启用 [**游戏模式**](/game)
Binary file added macOS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions multitask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
redirect_from: /Multitask
---

## 光速切换

> 借助 [**光速启动**](/launcher) 的快捷键指哪打哪地切换窗口
> 兼容 Windows 和 macOS
<br>

如果你已经为某个 App、文档或文件夹配置了 [**光速启动**](/launcher) 快捷键,那么:

- 当该项目的窗口未打开时,按该快捷键会启动它

- 当该项目已经打开了一个窗口,按该快捷键会切换并激活它的窗口

- 当该项目为 App 且已经打开了多个窗口,重复按该快捷键会循环切换它的窗口

<br>

**光速切换** 暂不支持切换多个虚拟桌面下的窗口,也不支持直接切换到某个标签页,但你可以借助 **`Ctrl + Tab`****`Ctrl + Caps Lock`** 双向逐个地切换标签页。

<br>

在 Windows 上,如果某些项目的窗口被错误识别或被遗漏,导致 **光速切换** 的实际行为与上述不符,请打开该 [**光速启动**](/launcher) 项的属性窗口,尝试:

- 清空备注

- 或者,备注该项目窗口标题的 [**正则表达式**](https://www.baidu.com/s?wd=正则表达式)

<br>

如需临时禁用该功能,请启用 [**游戏模式**](/game)
25 changes: 25 additions & 0 deletions numpad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
redirect_from: /Numpad
---

## 数字秒输

> 数据输入从未如此高效舒适
> 兼容 Windows 和 macOS
<br>

在任何 App 下,先用左手按住左上角的 **`1`** 键 0.1 秒不放,再将右手中指放在 **`J`** 键的突起部分上,

即可使用 [**数字小键盘指法**](https://www.baidu.com/s?wd=数字小键盘指法) 盲打 **`0 ~ 9` `.` `+` `-` `*` `/`**

<br>

此外,还可以在按住 **`1`** 键时直接输入 **`#` `$` `` `%` `A ~ F`**

以便更加高效地输入价格、[**色值**](https://www.baidu.com/s?wd=色值)、百分比或 [**十六进制数**](https://www.baidu.com/s?wd=十六进制数)

<br>

如需临时禁用该功能,请启用 [**游戏模式**](/game)
1 change: 1 addition & 0 deletions powerkeys.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions simplify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
redirect_from: /Simplify
---

## 快捷键简化

> 不费吹灰之力地按下复杂的快捷键
> 兼容 Windows 和 macOS
<br>

例如,按 **`Caps Lock + P`** 即可使用 **`Ctrl + Shift + Alt + P`****⌃⌥⇧⌘P** 对应的功能:

<br>

| Windows | macOS | 简化后 |
| -----------------: | ----: | --------: |
| Ctrl + Shift | ⇧⌘ | Esc |
| Ctrl + Alt | ⌥⌘ | Tab |
| Alt + Shift | ⌃⌘ | ~ |
| Ctrl + Shift + Alt | ⌃⌥⇧⌘ | Caps Lock |

<br>

该功能不会对 Adobe Photoshop、Illustrator 和 InDesign 生效;

如需更轻松地按下前缀为 **`Ctrl`****** 的快捷键,请充分使用 [**空格编辑**](/space) 功能;

如需临时禁用该功能,请启用 [**游戏模式**](/game)
Loading

0 comments on commit 2968e39

Please sign in to comment.