Skip to content

An autohotkey's script which makes your capslock more powerful

Notifications You must be signed in to change notification settings

shanyutou/CapsLocKeys.ahk

 
 

Repository files navigation

CapsLocKeys.ahk

Simplified Chinese version: README-chs.md

What's this?

An autohotkey's script which makes your capslock more powerful by mapping other keys which are far from alphanumeric keys.

Features

Single keys, which can't be combined with other chords

  • Capslock : ESC
  • shift+Capslock : Capslock
  • Capslock+o : open a new line but don't break this line into two line on the cursor
  • Capslock+s : it is equivalent to pressing the left mouse button to solve the problem of dragging on the touchpad.

Multiple keys, which can be combined with other chords

Keys listed below can be combined with other chords such as Ctrl Alt or Shift
For example:
Capslock+a is mapped to HOME. Meanwhile, Capslock+Shift+a will send Shift+Home.
Attention: Shift must be pressed AFTER Capslock, or it will send Capslock immediately as defined above.
  • Capslock+f/b/p/n : Left/Down/Up/Right arrow
  • Capslock+g/h : word next/word back
  • Cpaslock+u : backspace
  • Capslock+d : DEL
  • Capslock+a : HOME
  • Capslock+k : del to line end
  • Capslock+1...9 0 - = : F1-F12

Killing feature

Number line lock -- for programmers

When you press Capslock+TAB, it will enter the mark state. Then when you press the number keys above the alphanumeric keys, it will enter the marks on the button rather than the numbers itself, just like press shift+numbers in normal. If you want to enter numbers, press shift+numbers button instead. Press Capslock+TAB again will exit mark state.

We also have two icons which show the state of it. It will replace the tray icon of the autohotkey.

About

An autohotkey's script which makes your capslock more powerful

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AutoHotkey 83.3%
  • Python 16.7%