doc: Add macos example to the readme

master
Justin 2 years ago committed by Raheman Vaiya
parent 703c1dea93
commit d93685d05f
  1. 30
      README.md

@ -245,6 +245,36 @@ control (when held) and remaps all modifiers to 'oneshot' keys. Thus to produce
the letter A you can now simply tap shift and then a instead of having to hold
it. Finally it remaps insert to S-insert (paste on X11).
# Sample macOS config
Do you roll macOS by day, and linux by night? Here's a great way to aid in the
context switch making the `alt` (`cmd`) key replicate common `ctrl` combinations like *cut*, *copy*, and *paste*:
# Map common macOS keybinds to work in linux
[ids]
*
[main]
# Cmd
[alt]
# Cut (alt+x -> ctrl+x)
x = C-x
# Copy
c = C-c
# Paste
v = C-v
# Select All
a = C-a
# Find
f = C-f
# Replace
r = C-r
# Undo
z = C-z
# FAQS
## What about xmodmap/setxkbmap/*?

Loading…
Cancel
Save