RepositoryLuaUSHoa Kỳ
jasonrudolph

jasonrudolph/ControlEscape.spoon

⌨ Supercharge your Control key: Tap it for Escape. Hold it for Control.

168sao
22fork
1issue
1lượt xem

⌨️ Một phím Control thông minh: nhấn nhanh là Escape, giữ lâu vẫn là Control

Biến phím Control thành Escape chỉ bằng một cái chạm — nếu nhấn nhanh. Nếu giữ lâu, nó vẫn hoạt động như bình thường.

ControlEscape.spoon là một spoon (plugin) cho Hammerspoon, công cụ tùy biến phím trên macOS. Dự án này giúp phím Control thực hiện hai nhiệm vụ: khi nhấn và thả nhanh, nó gửi tín hiệu Escape; khi giữ xuống để kết hợp với phím khác, nó vẫn giữ chức năng điều khiển (Control). Ý tưởng lấy cảm hứng từ bài viết Modern Space Cadet của Steve Losh.

✨ Điểm nổi bật

  • Kết hợp Control và Escape trên một phím: tránh phụ thuộc vào phím Escape riêng, tiết kiệm không gian trên bàn phím.
  • Tương thích với Touch Bar Mac: hỗ trợ người dùng máy tính có màn hình cảm ứng thay thế phím Escape vật lý.
  • Hỗ trợ phím Caps Lock thay thế Control: ánh xạ Caps Lock thành Control để dễ tiếp cận hơn, giảm thiểu tư thế tay bất tiện khi dùng Emacs.
  • Dựa trên Hammerspoon: sử dụng công cụ mạnh mẽ để tùy biến hành vi phím trên macOS.
  • Dễ lắp đặt: chỉ cần sao chép spoon vào thư mục Spoons và chạy script cài đặt.
  • Nguồn mở, miễn phí: dựa trên công trình ban đầu từ @arbelt và @jasoncodes.

💡 Vì sao đáng chú ý

Thay vì phải chọn giữa phím Control hay Escape, người dùng có thể dùng cả hai hiệu quả trên một phím. Đây là cách tiếp cận rất hữu ích cho người dùng Emacs, Vim, hoặc bất kỳ ứng dụng nào dùng nhiều phím tắt Control. Đặc biệt, việc ánh xạ Caps Lock thành Control giúp giảm mệt cho ngón cái tay (Emacs pinky) một cách đáng kể.


#Hammerspoon #MacOS #KeyboardCustomization #ControlEscape #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryLua
jasonrudolph/keyboard

⌨ Toward a more useful keyboard

2.2k
Oct 13, 2025
RepositoryC
susam/uncap

Map Caps Lock to Escape or any key to any key

1.2k
Jan 1, 2023
RepositorySwift
MonitorControl/MonitorControl

🖥 Control your display's brightness & volume on your Mac as if it was a native Apple Display. Use Apple Keyboard keys or custom shortcuts. Shows the native macOS OSDs.

34.9k
Oct 14, 2026
RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

181.5k
Nov 28, 2026
Repository
jlevy/the-art-of-command-line

Master the command line, in one page

162.8k
Jun 25, 2024
RepositoryJavaScript
nodejs/node

Node.js JavaScript runtime ✨🐢🚀✨

124.1k
Nov 30, 2026
RepositorySwift
jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

120.1k
Dec 2, 2026
RepositoryShell
tw93/Mole

🐹 Open-source Mac and PC cleaner. Keep your machine clean, light, and running like new. Fast CLI, plus native Mac and Windows apps.

76.9k
Dec 2, 2026
RepositoryRust
alacritty/alacritty

A cross-platform, OpenGL terminal emulator.

66.4k
Dec 1, 2026