You can throw your mouse away with this keyboard remapping| vim gang #610
cutbypham
started this conversation in
Show and tell
Replies: 3 comments 7 replies
-
{
"mapping": {
"1,57,1+1,22,1": [
"KEY_PAGEUP",
"keyboard"
],
"1,57,1+1,25,1": [
"KEY_PAGEDOWN",
"keyboard"
],
"1,127,1": [
"KEY_LEFTCTRL",
"keyboard"
],
"1,57,1+1,35,1": [
"KEY_LEFT",
"keyboard"
],
"1,57,1+1,36,1": [
"KEY_DOWN",
"keyboard"
],
"1,57,1+1,38,1": [
"KEY_RIGHT",
"keyboard"
],
"1,57,1+1,23,1": [
"KEY_HOME",
"keyboard"
],
"1,57,1+1,24,1": [
"KEY_END",
"keyboard"
],
"1,57,1+1,12,1": [
"KEY_F11",
"keyboard"
],
"1,57,1+1,13,1": [
"KEY_F12",
"keyboard"
],
"1,57,1+1,37,1": [
"KEY_UP",
"keyboard"
],
"1,57,1+1,26,1": [
"Alt_L+KEY_LEFT",
"keyboard"
],
"1,57,1+1,27,1": [
"Alt_L+KEY_RIGHT",
"keyboard"
],
"1,57,1+1,3,1": [
"KEY_F2",
"keyboard"
],
"1,57,1+1,4,1": [
"KEY_F3",
"keyboard"
],
"1,57,1+1,5,1": [
"KEY_F4",
"keyboard"
],
"1,57,1+1,6,1": [
"KEY_F5",
"keyboard"
],
"1,57,1+1,7,1": [
"KEY_F6",
"keyboard"
],
"1,57,1+1,8,1": [
"KEY_F7",
"keyboard"
],
"1,57,1+1,10,1": [
"KEY_F9",
"keyboard"
],
"1,57,1+1,9,1": [
"KEY_F8",
"keyboard"
],
"1,57,1+1,11,1": [
"KEY_F10",
"keyboard"
],
"1,57,1+1,39,1": [
"KEY_RIGHTCTRL+a+f",
"keyboard"
],
"1,149,1": [
"XF86RotateWindows",
"keyboard"
],
"1,58,1": [
"Escape",
"keyboard"
],
"1,59,1": [
"XF86AudioMute",
"keyboard"
],
"1,57,1+1,2,1": [
"KEY_F1",
"keyboard"
],
"1,61,1": [
"XF86AudioRaiseVolume",
"keyboard"
],
"1,60,1": [
"XF86AudioLowerVolume",
"keyboard"
],
"1,63,1": [
"XF86AudioMicMute",
"keyboard"
],
"1,64,1": [
"XF86WebCam",
"keyboard"
],
"1,65,1": [
"KEY_LEFTCTRL+c",
"keyboard"
],
"1,66,1": [
"KEY_LEFTCTRL+Shift_L+v",
"keyboard"
],
"1,57,1+1,44,1": [
"Alt_L+KEY_F10",
"keyboard"
],
"1,57,1+1,45,1": [
"Alt_L+KEY_F4",
"keyboard"
],
"1,57,1+1,47,1": [
"Super_L+Shift_L+v",
"keyboard"
],
"1,15,1+1,19,1": [
"BTN_RIGHT",
"mouse"
],
"1,15,1+1,17,1": [
"BTN_LEFT",
"mouse"
],
"1,57,1+1,52,1": [
"Shift_L+Super_L+KEY_RIGHT",
"keyboard"
],
"1,57,1+1,51,1": [
"Shift_L+Super_L+KEY_LEFT",
"keyboard"
],
"1,86,1": [
"KEY_LEFTCTRL",
"keyboard"
],
"1,15,1+1,57,1+1,38,1": [
"mouse(right, 2)",
"mouse"
],
"1,57,1+1,15,1+1,36,1": [
"mouse(down, 2)",
"mouse"
],
"1,57,1+1,15,1+1,37,1": [
"mouse(up,2)",
"mouse"
],
"1,57,1+1,15,1+1,35,1": [
"mouse(left,2)",
"mouse"
],
"1,15,1+1,25,1": [
"wheel(up, 20)",
"mouse"
],
"1,15,1+1,24,1": [
"wheel(left,20)",
"mouse"
],
"1,15,1+1,23,1": [
"wheel(right,20)",
"mouse"
],
"1,15,1+1,39,1": [
"wheel(down,20)",
"mouse"
],
"1,15,1+1,35,1": [
"mouse(left,8)",
"mouse"
],
"1,15,1+1,37,1": [
"mouse(up,8)",
"mouse"
],
"1,15,1+1,36,1": [
"mouse(down,8)",
"mouse"
],
"1,15,1+1,38,1": [
"mouse(right,8)",
"mouse"
],
"1,15,1+1,18,1": [
"BTN_MIDDLE",
"mouse"
],
"1,67,1": [
"KEY_LEFTCTRL+XF86MonBrightnessDown",
"keyboard"
],
"1,68,1": [
"KEY_LEFTCTRL+XF86MonBrightnessUp",
"keyboard"
],
"1,15,1": [
"if_single(key(KEY_TAB), ,10000)",
"keyboard"
],
"1,57,1": [
"if_single(key(KEY_SPACE),,10000)",
"keyboard"
],
"1,57,1+1,30,1": [
"Super_L+1+Super_L+h",
"keyboard"
],
"1,57,1+1,31,1": [
"Super_L+2+Super_L+h",
"keyboard"
],
"1,57,1+1,32,1": [
"Super_L+3+Super_L+h",
"keyboard"
],
"1,57,1+1,33,1": [
"Super_L+4+Super_L+h",
"keyboard"
],
"1,57,1+1,16,1": [
"Super_L+6+Super_L+h",
"keyboard"
],
"1,57,1+1,34,1": [
"Super_L+5+Super_L+h",
"keyboard"
],
"1,57,1+1,17,1": [
"Super_L+7+Super_L+h",
"keyboard"
],
"1,57,1+1,18,1": [
"Super_L+8+Super_L+h",
"keyboard"
],
"1,57,1+1,19,1": [
"Super_L+9+Super_L+h",
"keyboard"
],
"1,57,1+1,20,1": [
"Super_L+0+Super_L+h",
"keyboard"
]
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
with version >= 1.5.1, kinda broken |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Can this be done by using a second input device as a Fn key of sorts? I have a Thinkpad with a physical middle mouse button and would like to replicate the layering system I have with my TEX Shinobi (where the middle mouse button is also a Fn key). |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Video demo: https://youtu.be/pKtIrQsbKnQ
Hold
Tabhjklmoving cursorleftdownupright(vim) || holdtab + space+ hjkl speed is slow downwbutton left,ebutton middle,rbutton right;scroll down,pscroll up,iscroll left,oscroll rightBeta Was this translation helpful? Give feedback.
All reactions