Files
CapSpace/README.md
2026-02-01 07:09:53 +00:00

46 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CapSpace
## 📦 CapSpace
**CapSpace** 是一款基于 AutoHotkey 的系统增强脚本,旨在通过重定义 `CapsLock` 键位,构建一个高效、直观的 Windows 虚拟桌面调度中心。
### 🌟 核心特性
* **Smart CapsLock**:
* **单击**:触发 `Esc`(完美的 Vim/编程体验)。
* **长按/组合**:瞬间化身为 `Ctrl` 修饰键。
* **防误触**:内置毫秒级判定与组合键拦截逻辑,确保不会在组合操作后误弹 `Esc`
* **空间折叠 (Virtual Desktop Management)**:
* `Ctrl + Left/Right`:平滑切换相邻虚拟桌面。
* `Ctrl + Up`**一键穿梭**至首个虚拟桌面。
* `Ctrl + Down`**一键直达**末个虚拟桌面。
* **原生融合**:完美支持与 `CapsLock` 组合使用,让你的左手无需大范围跨越即可掌控全局。
### 🚀 快速开始
1. **环境要求**:安装 [AutoHotkey v1.1+](https://www.autohotkey.com/)。
2. **运行**:下载 `CapSpace.ahk` 并双击运行。
3. **开机自启**
*`Win + R` 输入 `shell:startup`
*`CapSpace.ahk` 的快捷方式放入该文件夹。
### ⌨️ 快捷键总览
| 快捷键 (按下) | 实际功能 | 场景 |
| --- | --- | --- |
| `CapsLock` (轻点) | `Esc` | 退出/取消 |
| `Ctrl / CapsLock + ←/→` | `Ctrl + Win + ←/→` | 逐个切桌面 |
| `Ctrl / CapsLock + ↑` | 连续左切 | 回到第一个 |
| `Ctrl / CapsLock + ↓` | 连续右切 | 跳到最后一个 |
---
### 💡 给仓库填写的 Short Description (GitHub 简介框)
> 🚀 CapSpace: Transform your CapsLock into a Smart Ctrl/Esc hybrid and unlock seamless virtual desktop navigation with intuitive shortcuts.