Vonng / Capslock

Make Capslock Great Again!
Apache License 2.0
1.43k stars 287 forks source link

Similar effects can be achieved on linux (keyd) #56

Closed jqtmviyu closed 1 year ago

jqtmviyu commented 1 year ago

https://github.com/rvaiya/keyd

simple example

[ids]

*

[main]
capslock = overload(capslock_layer, esc)

[capslock_layer]

esc = capslock

h = left
j = down
k = up
l = right

u = pageup
p = pagedown
i = home
o = end

m = backspace

Are there more linux users would like to work together to improve this profile?

jqtmviyu commented 1 year ago

I found myself using vim more often for text editing in Linux, and shell has its own common rules. I'm using the hyprland desktop environment, which also has shortcut key functionality. The simple script provided above seems to be enough for my use case.

jqtmviyu commented 1 year ago

Another application that can achieve similar effects is xremap, but I haven't tried it. Those who are interested can give it a try.