Operate your computer like a hacker — without touching the mouse
Every keyboard has a useless key that does nothing but SHOUT AT PEOPLE ACCIDENTALLY. It sits in prime real estate, right next to your pinky, and you probably hit it by mistake more often than on purpose.
I turned mine into a command center. Now I can move the mouse, switch windows, scroll pages, and navigate text — all without my hands leaving the keyboard.
Here's how.
Watch any developer work. Type, type, type... reach for mouse... click... back to keyboard... type... reach for mouse. Repeat 500 times a day.
Every time you reach for that mouse, you break your flow. Your brain context-switches. Your shoulder rotates. Over years, this adds up to RSI, neck pain, and countless lost minutes.
Vim users figured this out decades ago. Keyboard-only navigation is faster. But Vim only works inside text editors. What about your browser? File explorer? Every other app?
I wanted Vim everywhere.
What I needed was a universal layer — a "command mode" that works everywhere.
Here's the insight: CapsLock is the perfect command key.
So I built CapsLockX — a modular hotkey engine that transforms CapsLock into a modifier key. When you hold CapsLock, your entire keyboard becomes a command layer.
Normal: [A] [S] [D] [F] → Types "asdf"
With CapsLock: [A] [S] [D] [F] → Moves mouse left/down/up/right
Let me show you what this unlocks.
The killer feature. Move your mouse cursor with your keyboard:
| Keys | Action |
|---|---|
CapsLock + W |
Mouse up |
CapsLock + A |
Mouse left |
CapsLock + S |
Mouse down |
CapsLock + D |
Mouse right |
CapsLock + E |
Left click |
CapsLock + Q |
Right click |
CapsLock + R |
Scroll up |
CapsLock + F |
Scroll down |
The movement isn't linear — it accelerates parabolically. Tap for precision, hold for speed. It feels like driving: gentle at first, then fast when you need it.
Pro tip: The cursor auto-snaps to buttons and hyperlinks, making clicking even faster.
Before CapsLockX:
After CapsLockX:
Time saved per click: ~2-3 seconds Clicks per day: ~500 Time saved daily: ~20-25 minutes
That's over 100 hours per year. Just from not reaching for a mouse.
If you've used Vim, you know HJKL for arrow keys. CapsLockX brings this everywhere:
| Keys | Action |
|---|---|
CapsLock + H |
← Left arrow |
CapsLock + J |
↓ Down arrow |
CapsLock + K |
↑ Up arrow |
CapsLock + L |
→ Right arrow |
CapsLock + Y |
Home |
CapsLock + O |
End |
CapsLock + U |
Page Up |
CapsLock + I |
Page Down |
This works in Word, Chrome, VS Code, Outlook — everywhere. No more reaching to the arrow key island.
Combine with Shift for selection:
CapsLock + Shift + L = Select one character rightCapsLock + Shift + O = Select to end of lineWhy reach for your mouse to switch windows?
| Keys | Action |
|---|---|
CapsLock + 1-0 |
Switch to virtual desktop 1-10 |
CapsLock + Z |
Cycle through windows |
CapsLock + X |
Close current window |
CapsLock + C |
Auto-arrange windows (tiling) |
CapsLock + V |
Toggle always-on-top / transparency |
Move windows between desktops:
CapsLock + Shift + 3 = Move window to desktop 3I use 4-5 virtual desktops daily. Desktop 1 is code, Desktop 2 is browser, Desktop 3 is communication. Switching is instant — no animation, no delay.
Even Alt+Tab gets an upgrade. While holding Alt+Tab:
WASD to navigate the window gridX to close a window without switching to itE to selectClose that frozen app without first switching to it. Game changer.
CapsLockX isn't a monolithic script. It's a plugin system. Each feature is a separate .ahk module:
CapsLockX/
├── CapsLockX.exe # Main engine
├── Modules/
│ ├── CLX-Mouse.ahk # Mouse emulation
│ ├── CLX-Edit.ahk # HJKL navigation
│ ├── CLX-WindowManager.ahk
│ ├── CLX-MediaKeys.ahk # F1-F11 as media controls
│ ├── App-Anki.ahk # Anki-specific shortcuts
│ └── ...
└── User/ # Your custom modules
Don't need media keys? Delete the module. Want to add custom hotkeys? Drop a file in User/.
Current modules include:
CapsLock + =)CapsLock + B)# Download and unzip
curl -L https://cdn.jsdelivr.net/gh/snolab/CapsLockX@gh-pages/CapsLockX-latest.zip -o clx.zip
unzip clx.zip
# Run it
./CapsLockX.exe
choco install capslockx
capslockx
npx capslockx@latest
That's it. CapsLockX runs in your system tray. Hold CapsLock and try WASD.
CapsLock + WASD — watch your cursor moveCapsLock + E — click somethingCapsLock + HJKL — navigate textCapsLock + / — see all available hotkeysQ: What if I actually need Caps Lock?
Press CapsLock + Space to toggle caps lock. Or double-tap CapsLock quickly.
Q: Does this conflict with other apps?
Rarely. CapsLock isn't used by any standard application. If you find a conflict, disable the specific module.
Q: Does it slow down my typing?
No. CapsLockX only activates when you hold CapsLock. Normal typing is completely unaffected.
Q: Mac or Linux support?
Currently Windows only (AutoHotkey is Windows-native). Mac users should check out Karabiner-Elements. Linux users can try keyd or kmonad.
Q: How much RAM does it use?
About 2-3 MB. It's lightweight.
Q: Is it safe? Will it steal my passwords?
It's open source. Read the code yourself: github.com/snolab/CapsLockX
CapsLockX embodies a simple idea: the keyboard is underutilized.
Your keyboard has 100+ keys. Your hands rest on it all day. Yet for anything beyond typing, you reach for a completely separate input device.
Every time you reach for the mouse:
These seconds compound. Over a career, they become months.
The solution isn't to type faster. It's to reach less.
CapsLockX turns the most useless key on your keyboard into a gateway to keyboard-first computing. You'll feel like a hacker. You'll be faster. And your shoulders will thank you.
Download: github.com/snolab/CapsLockX
Or try the web demo first: snomiao.github.io/capslockx.js
Star the repo if you find it useful. And let me know what modules you'd like to see next.
╔═══════════════════════════════════════════════════════════════╗
║ CapsLockX Cheat Sheet ║
╠═══════════════════════════════════════════════════════════════╣
║ MOUSE │ NAVIGATION │ WINDOWS ║
║ W - up │ H - ← │ 1-0 - desktop 1-10 ║
║ A - left │ J - ↓ │ Z - switch window ║
║ S - down │ K - ↑ │ X - close window ║
║ D - right │ L - → │ C - arrange windows ║
║ E - L-click │ Y - Home │ V - always on top ║
║ Q - R-click │ O - End │ ║
║ R - scroll up │ U - PgUp │ UTILITY ║
║ F - scroll dn │ I - PgDn │ / - show help ║
║ │ │ Space - toggle CapsLock ║
║ │ │ = - calculator ║
╚═══════════════════════════════════════════════════════════════╝