All Projects → suliveevil → Capslock

suliveevil / Capslock

Licence: Apache-2.0 License
ultimate macOS keyboard re-mapping

Programming Languages

c
50402 projects - #5 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
Makefile
30231 projects
autohotkey
350 projects

Projects that are alternatives of or similar to Capslock

FN-key-lock
A Script/Program to simulate hardware F key lock on F1-F12 keys with custom controls and visible lock notifications.
Stars: ✭ 25 (-80.47%)
Mutual labels:  keyboard, keymapping
Plaid-Pad
Build guide and additional hardware for the Plaid-Pad mechanical macro pad.
Stars: ✭ 39 (-69.53%)
Mutual labels:  keyboard
better-keyboard
A js keyboard component for mobile.
Stars: ✭ 55 (-57.03%)
Mutual labels:  keyboard
Chess-Helper
Simple Chrome extension adding nice features to chess.com website
Stars: ✭ 23 (-82.03%)
Mutual labels:  keyboard
FatBottomedBoard
Ben's Custom Keyboard. Huge, large & heavy board for daily work
Stars: ✭ 18 (-85.94%)
Mutual labels:  keyboard
SHKB
A programmable (QMK/TMK supported) HHKB controller with integrated hub
Stars: ✭ 34 (-73.44%)
Mutual labels:  keyboard
openinput
Open source firmware for input devices
Stars: ✭ 43 (-66.41%)
Mutual labels:  keyboard
react-touch-screen-keyboard
React touch screen virtual keyboard, opened on input focused
Stars: ✭ 45 (-64.84%)
Mutual labels:  keyboard
keyboard-ktx
Kotlin extensions for hiding/showing and observe keyboard state.
Stars: ✭ 14 (-89.06%)
Mutual labels:  keyboard
Unexpected-Keyboard
A lightweight virtual keyboard for developers.
Stars: ✭ 145 (+13.28%)
Mutual labels:  keyboard
EasyEmoji
Help developers to quickly realize the expression of the keyboard
Stars: ✭ 24 (-81.25%)
Mutual labels:  keyboard
qmk-comment-gen
Generates fancy layout comments from qmk keymap.c
Stars: ✭ 28 (-78.12%)
Mutual labels:  keyboard
vise
A keyboard driven browser with tabs in a tree
Stars: ✭ 87 (-32.03%)
Mutual labels:  keyboard
SerialProxy
🖱️⌨️ Arduino Input Proxying for PC (.NET Core)
Stars: ✭ 39 (-69.53%)
Mutual labels:  keyboard
visualKeyboard
支持中文和英文输入的虚拟键盘第三版
Stars: ✭ 22 (-82.81%)
Mutual labels:  keyboard
KioskBoard
KioskBoard - A pure JavaScript library for using virtual keyboards.
Stars: ✭ 114 (-10.94%)
Mutual labels:  keyboard
barrier
Open-source KVM software
Stars: ✭ 17,366 (+13467.19%)
Mutual labels:  keyboard
KeyHide
Easy way to hide Android keyboard on background tap without any effort.
Stars: ✭ 54 (-57.81%)
Mutual labels:  keyboard
jqKeyboard
jQuery-based virtual keyboard
Stars: ✭ 19 (-85.16%)
Mutual labels:  keyboard
fusuma-plugin-keypress
Keypress combination plugin for Fusuma
Stars: ✭ 21 (-83.59%)
Mutual labels:  keyboard

ultimate macOS 中文

forked from Vonng/Capslock : Make CapsLock Great Again!

Why CapsLock

Transform Capslock into Hyper, improve your productivity tremendously!

  • Powerful: Make Capslock a great new modifier key: Hyper(✱).
  • Well-Designed: High-Freq key in hot-area. Bring lots of useful functionalities.
  • Compatible: Work well with other modifiers, appliactions, devices.
  • Light-Weight: Just a small script, carry it everywhere !
  • Design Document
  • KeyRemap Document

Platforms

Install

  1. Download Karabiner-Elements and Install

  2. Copy URL to your browser(open in safari) to import configuration script.

karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/suliveevil/Capslock/master/mac/ultimate_macOS.json

or import config file from Karabiner-Elements Offical Script Gallery

https://pqrs.org/osx/karabiner/complex_modifications/#ultimate_macOS
  1. Open Karabiner, Tab "ComplexModification", Button "Add Item", and enable entries you like.

  2. Default conf file path is $HOME/.config/karabiner/assets/complex_modifications. Modify it if you like.

  3. Enable functions: [App] karabiner-elements -> [Tab] Complex Modification -> Add Item

Usage

Basic

details

Hyper actually maps to (all right modifiers) , It works well with additional left modifiers. And compatible with most application. Hold CapsLock to enable Hyper funcationality while press it will emit an Escape.

Origin Maps to Comment
Press Escape Single press to escape
Hold Hyper Enable Hyper Functionality

Navigation

details
  • Hold Hyper to enable navigators
  • Hold additional Command for selection . (just like holding ⇧shift in normal)
  • Hold additional with HJKL for mouse movement
  • Hold additional with HJKL for switching tab/app
  • Hold additional with HJKL for desktop management . (just like holding ⌃ctrl with arrow key)
Origin Maps to Comment
0 LeftArrow cursor move to the begin of the line
4($) RightArrow cursor move to the end of the line
H LeftArrow cursor left
J DownArrow cursor down
K UpArrow cursor up
L RightArrow cursor right
H LeftArrow cursor left and selection
J DownArrow cursor down and selection
K UpArrow cursor up and selection
L RightArrow cursor right and selection
H LeftArrow
J DownArrow
K UpArrow
L RightArrow
H LeftArrow expose all
J DownArrow show desktops
K UpArrow switch prev desktop
L RightArrow switch next desktop
U PageUp cursor page up
I Home cursor to line(doc) head
O End cursor to line(doc) end
P PageDn cursor page down
U XX leave to other apps
I XX leave to other apps
O XX leave to other apps
P XX leave to other apps
U XX leave to other apps
I XX leave to other apps
O XX leave to other apps
P XX leave to other apps
U XX leave to other apps
I XX leave to other apps
O XX leave to other apps
P XX leave to other apps

Mousekey

details
  • Emulate mouse with keyboard
  • Also can be archived by with UIOP
Origin Maps to Comment
MouseLeft mouse cursor left
MouseDown mouse cursor down
MouseUp mouse cursor up
MouseRight mouse cursor right
MouseLeft mouse left button click
MouseMiddle mouse Middle button click
MouseRight mouse right button click

Deletion

details
Origin Maps to Comment
N ⌥⌫ Option + ForwardDelete Delete a word ahead
M ForwardDelete Delete a char ahead
, Delete Delete a char after
. ⌥⌦ Option + Delete Delete a word after
M,N ⌘⌥⌫ Command+Option+ForwardDelete Delete to line head

Window Control

details
Origin Maps to Comment
Tab ⌘⇥ Command+Tab Switch Window
⌘⇥ Command+Tab ⌘⇧⇥ Command+Shift+Tab Switch Window Reversely
Q ⌘Q Close Window
W ⌘W Close Tab
A ⌃⌥⇧⌘A Leaves to Moom, ※a window resize app
⌘A ⌃↑ Ctrl+UpArrow OSX Expose All
S ⌃⇥ Ctrl+Tab Switch Tab
⌘S ⌃⇧⇥ Ctrl+Shift+Tab Swtich Tab Reversely
⌥D F11 Show Desktop

Bash Control

details
  • Common bash utils: EOF, SIGINT, SIGTSTP, VIM/Tmux Prefix
Origin Maps to Comment
D D Ctrl+D EOF
Z Z Ctrl+Z SIGTSTP
X R Ctrl+R IDE Run
C C Ctrl+C SIGINT
V V Ctrl+V Vim Prefix
B B Ctrl+B Tmux Default Prefix

Applications

details
  • Maybe you'd like overwrite these with your own favorite apps.
Origin Maps to Comment
E Open Finder Open File Browser
⌘E Open Safari Open Web Browser
R Open iTerm2 Great terminal for osx (Run)
⌘R Open Pycharm Open IDE
T Open Visual Studio Code Text Editor: Visual Studio Code
⌘T Open Typora Text Editor: Typora , a great WYSIWYG md editor
T Open Visual Studio Code Text Editor: Visual Studio Code
Y Open Siri Siri
⌘D Open Dictionary Find words
F Open Alfred
⌘F Open Dash Find API Document
G Open GitHub Desktop GitHub Desktop
⌘G Open Chrome Google Chrome

Functional

details
  • Use hyper + 1~9 and 0 and - and = as standard functional keys(F1,…F12).
Origin Maps to Comment
1 BrightnessDown
2 BrightnessUp
3 ExposeAll
4 LaunchPad
5 KeyboardLightDown
6 KeyboardLightUp
7 MusicPrev
8 MusicPlay
9 MusicNext
0 Mute
- VolumeDown
= VolumeUp
F13 PrintScreen MusicPrev
F14 ScrollLock MusicNext
F15 Pause MusicPlay Just as it shows
Insert ⌥BrightnessUp Fine grained brightness up
Delete ⌥BrightnessDown Fine grained brightness down
Home ⌥KeyboardLightUp Fine grained keyboard light up
End ⌥KeyboardLightDown Fine grained keyboard light down
PgUp ⌥VolumeUp Fine grained volume up
PgDn ⌥VolumeDown Fine grained volume down

Shifter

details
  • A more convient shift for most case
  • Semicolon ; and Quote ' have some special treatment, makes input != and := easier
Origin Maps to Comment
1 ! Exclamation
2 @ At
3 # Sharp
4 $ Dollar
5 % Percent
6 ^ Caret
7 & Ampersand
8 * Star
9 ( Left Round Bracket
0 ) Right Round Bracket
- Minus _ Hyphen
= Equal + Plus
[ Left Bracket { Left Bracket {[
] Right Bracket } Right Bracket }]
; Semicolon ! Exclamation
' Single Quote = EqualSign
; Semicolon ! Colon
' Single Quote = EqualSign

Misc

details
Origin Maps to Comment
Escape CapsLock Bug: Difficult to turn capslock off after emit
~ BackQuote ⇧⌘4 macOS Area Screenshot to Desktop file
~ Command+BackQuote ⌃⇧⌘4 macOS Area Screenshot to Clipboard
Backspace macOS Delete File
/ Slash / Command+Slash Comment/Uncomment in many IDE
\ Backslash / Command+Slash Comment/Uncomment in many IDE
Spacebar Ctrl+Spacebar Switch Input Source

Symbol Reference

Modifiers:  Mac
Sym Key
Hyper
Control
Option
Shift
Command
Modifiers: ⊞ Windows
Sym Key
Hyper
Control
Windows
Shift
Alter
Normal Keys
GLYPH NAME
Apple
Command, Cmd, Clover, (formerly) Apple
Control, Ctl, Ctrl
Option, Opt, (Windows) Alt
Alt
Shift
Caps lock
Eject
, , Return, Carriage Return
Enter
Delete, Backspace
Forward Delete
Escape, Esc
Right arrow
Left arrow
Up arrow
Down arrow
Page Up, PgUp
Page Down, PgDn
Home
End
Clear
Tab, Tab Right, Horizontal Tab
Shift Tab, Tab Left, Back-tab
Space, Blank
Space, Blank
❘⃝ Power
Num lock
?⃝ Help
Context menu

About

Author:suliveevil ([email protected])

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].