Skip to content

Keyboard Script simulating Linux Tmux, Vim Commands, Win key as Flowlauncher Hotkey and others functionality for productivity boost.

Notifications You must be signed in to change notification settings

abhidahal/reDHotKeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥reDHotKeys

reDHotKeys is a keyboard script for a reDragon keyboard(works will all keyboards) that focuses on boosting productivity on Windows by giving similar features of vim and Tmux which are popular on linux and Windows key remapped to flow launcer hotkey (Alt + Space) and other productivity Hotkeys. This script gives Magic functions to space bar which controls the virtual windows screens and Magic Hold function for CapsLock which toggles vim like command mode. This script was made for Redragon K596 keyboard but will work with any keyboard.

🪄 Features

  • Space Functions simulate Tmux like functions for changing virtual desktops.
  • Moving application to desired virtual desktop with assigned keys.
  • CapsLock Functions simulate vim features.
  • Brightness Manipulation and scroll Simulation using Knob/Slider
  • ScrollLock Toggle with Knob/Slider simulates mouse Movement.
  • Displays Virtual desktop Number in Bottom Right of screen.

⚙️ Installation

⌨️ Hotkeys

# Magic Space Key Functions

Space Action Keys.
Switch to virtual desktop 1, 2, etc.
(you can also use the Numpad)
Space + 1
Space + 2
...
Space + 9
Switch to the virtual desktop on the left
(auto-cycles from the first to the last desktop)
Space + J
Switch to the virtual desktop on the right
(auto-cycles from the last to the first desktop)
Space + K
Switch back to the last desktop used Space + Tab
Create a new virtual desktop
Delete the current virtual desktop
Space + +
Space + -
Move the current window to another desktop, then switch to it
Keys Q, W, etc. correspond to 1st, 2nd, etc. desktops
Space + Q
Space + W
...
Space + O
Move the current window to the previous or the next desktop, then switch to it Space + H
Space + L
Dispaly all the virtual windows opened Space + `
Dispaly tooltip for all the commands Space + ?

Note : space Key function normally if it is not pressed together with the above hot keys

# Magic CapsLock Functions

CapsLock Toggle Action Keys(Holding Capslock)
Simulate arrow keys J =
K =
H =
H =
Enter in the next line
Enter in the previous line
O
(double)O
Navigating to the bottom of the page
Navigating to the top of the page
G
(double)G
Undo and Redo U = Undo
R = Redo
Copy and Paste Y = Copy
P = Paste
Simulate delete and backspace
(While deleting whole line it copies it to clipboard)
X = Delete
Z = Backspace
D = Delete Whole Line
(double)c = Delete Whole Line and stay on the same line
Navigating Cursor position E = End of the word
B = BEginning of the word
Cursor Placement into normal mode
(going back to normal mode with cursor position )
0 = In the Beginning of the line
^ = In the End of the line
Go to Defination in vs code F = Go to Defination
Visual Mode
(going to visual mode to select )
V = SelectionMode

Note : Holding CapsLock will toogle these commands, so when caps is on these keys will act as above. YOU WILL NOT BE ABLE TO USE THE NORMAL CAPSLOCK FUNCTIONALITY

# Knob/Slider Functions

Knob Action Keys
Brightness Manipulation Ctrl + Knob ↑ = Brightness ↑
Ctrl + Knob ↓ = Brightness ↓
Mouse Scroll Simulation Alt + Knob ↑ = Scroll ↑
Alt + Knob ↓ = Scroll ↓
Mouse Movement Manipulation on ScrollLock On
(Toggle ScrollLock for mouse Movement by the knob)
Ctrl + Knob ↑ = Mouse ↑
Ctrl + Knob ↓ = Mouse ↓
Alt + Knob ↑ = Mouse ↑
Alt + Knob ↓ = Mouse ↓
Mouse Click Pause = Mouse Click

Note : These will only work if your keyboard has a physical knob

Windows key to Flow Launcher Swap

Win Key {Flow Launcher Hotkey}

Note : Assign (Alt + Space) as the hotkey for flow launcher for this to work
All the Windows Shortcuts willl remain the same

Other Hotkeys

Other Action Keys
Terminate curret active Application Alt + X
Psudo Enter Key Right Alt

🐞 Bugs

  • Keys not working on windows emoji popup ie (Win + . )

✨ Thanks

About

Keyboard Script simulating Linux Tmux, Vim Commands, Win key as Flowlauncher Hotkey and others functionality for productivity boost.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published