From d93685d05fcc5d9e59ddcecc4ebb13a4e4a67934 Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 25 May 2024 18:55:43 -0700 Subject: [PATCH] doc: Add macos example to the readme --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 5c3c21a..06eaaac 100644 --- a/README.md +++ b/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/*?