Skip to content

Commit b3fd6d5

Browse files
authored
Merge pull request #91 from MoonlyVibes/main
Add Keyboard Remapping section with keyd
2 parents a350701 + 7860341 commit b3fd6d5

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,45 @@ We know that Vi-[clones](http://www.linfo.org/vi/clones.html)/derivatives have V
589589

590590

591591

592+
# Keyboard Remapping
593+
Keyboard remapping tools can improve your efficiency while navigating across the system, as well as enhance your experience inside Vim.
594+
They allow you to flexibly remap any key—for example, replacing the arrow keys with `hjkl`, among other useful remappings.
595+
Most of these tools are universal enough to work system-wide, even inside a Linux TTY, due to their low-level nature.
596+
* :heavy_plus_sign: [keyd](https://github.com/rvaiya/keyd) - A key remapping daemon for Linux.
597+
* <details>
598+
<summary>Example: Vim-like remaps using <code>keyd</code></summary>
599+
600+
```ini
601+
[ids] # A valid config file has the extension .conf and must begin with an [ids] section
602+
*
603+
[main]
604+
# Map Caps Lock to Escape when tapped and Control when held.
605+
capslock = overload(control, esc) # Super useful for Vim and not only!
606+
607+
# Make Alt a modifier ("[alt") for defined keys and act as regular Alt (":A]") when used with other keys.
608+
[alt:A]
609+
h = left
610+
k = up
611+
j = down
612+
l = right
613+
614+
0 = home
615+
4 = end
616+
# i = home
617+
# a = end
618+
619+
u = pageup
620+
d = pagedown
621+
622+
x = delete
623+
624+
# Check the keyd repo for more!
625+
```
626+
</details>
627+
628+
629+
630+
592631

593632
# Contributing
594633
This is a collaborative list -- please fork and make a pull request to add or improve the entries here! The initial contributions by the repo owner is limited to the tools he uses or knows of, so there is a lot of room for further additions here!

0 commit comments

Comments
 (0)