xremap/macOS.yaml

343 lines
7.4 KiB
YAML

---
# Wayland doesn't handle delay-less sequences properly, insert a delay.
keypress_delay_ms: 20
virtual_modifiers:
- Compose
keymap:
- name: Global remaps
remap:
# Navigation
Alt-Left: Home
Alt-Right: End
# Workspace Navigation
Ctrl-Alt-Left: Super-PageUp
Ctrl-Alt-Right: Super-PageDown
# Media keys
Compose-F7: PreviousSong
Compose-F8: PlayPause
Compose-F9: NextSong
Compose-F10: Mute
Compose-F11: VolumeDown
Compose-F12: VolumeUp
- name: Terminal remaps
application:
only:
- kitty
- gnome-terminal-server
- Guake
- guake
remap:
# --- Editing ---
# Copy
Alt-C: Ctrl-Shift-C
# Paste
Alt-V: Ctrl-Shift-V
- name: Non-Terminal remaps
application:
not:
- kitty
- gnome-terminal-server
remap:
# --- Editing ---
# Copy
Alt-C: Ctrl-C
# Cut
Alt-X: Ctrl-X
# Paste
Alt-V: Ctrl-V
# Select All
Alt-A: Ctrl-A
# Undo
Alt-Z: Ctrl-Z
# Redo
Alt-Y: Ctrl-Y
Alt-Shift-Z: Ctrl-Shift-Z
# --- Windows ---
# Quit
Alt-Q: Alt-F4
- name: Tabs remaps
application:
only:
- Chromium-browser
- Firefox
- Firefox-esr
- firefox
- org.gnome.Nautilus
remap:
# --- Windows & Tabs ---
# New Window
Alt-N: Ctrl-N
# New Tab
Alt-T: Ctrl-T
# Close Tab
Alt-W: Ctrl-W
# Go one Tab to the Left
Alt-Shift-LeftBrace: Ctrl-PageUp
# Go one Tab to the right
Alt-Shift-RightBrace: Ctrl-PageDown
# Move Tab Left
Ctrl-Alt-Shift-LeftBrace: Ctrl-Shift-PageUp
# Move Tab Right
Ctrl-Alt-Shift-RightBrace: Ctrl-Shift-PageDown
# Undo Close Tab
Alt-Shift-T: Ctrl-Shift-T
- name: Kitty tab remaps
application:
only:
- kitty
remap:
# New Window
Alt-N: Ctrl-Shift-N
# New Tab
Alt-T: Ctrl-Shift-T
# Close Tab
Alt-W: Ctrl-Shift-W
# Go one Tab to the Left
Alt-Shift-LeftBrace: Ctrl-Shift-Left
# Go one Tab to the right
Alt-Shift-RightBrace: Ctrl-Shift-Right
- name: Browser remaps
application:
only:
- Chromium-browser
- Ferdium
- Firefox
- Firefox-esr
- firefox
remap:
# --- Navigation ---
# Reload
Alt-R: Ctrl-R
Alt-Shift-R: Ctrl-Shift-R
# --- Miscellaneous ---
# Fullscreen
Alt-Shift-F: F11
# --- Current Page ---
# Zoom In
Alt-Equal: Ctrl-Equal
# Zoom Out
Alt-Minus: Ctrl-Minus
# Zoom Reset
Alt-0: Ctrl-0
# --- Search ---
# Find
Alt-F: Ctrl-F
# Find Again
Alt-G: Ctrl-G
- name: Firefox remaps
application:
only:
- Firefox
- Firefox-esr
- firefox
remap:
# --- Navigation ---
# Back
Alt-LeftBrace: Ctrl-LeftBrace
# Forward
Alt-RightBrace: Ctrl-RightBrace
# Open file
Alt-O: Ctrl-O
# --- Current Page ---
# Go to Bottom of Page
Alt-Down: Ctrl-Down
# Go to Top of Page
Alt-Up: Ctrl-Up
# Print
Alt-P: Ctrl-P
# Save Page As
Alt-S: Ctrl-S
# --- Editing ---
# Paste (as plain text)
Alt-Shift-V: Ctrl-Shift-V
# --- Search ---
# Find Previous
Alt-Shift-G: Ctrl-Shift-G
# Switch Search Engine
Ctrl-Up: Alt-Up
Ctrl-Down: Alt-Down
# Focus Address Bar with Default Search Engine
Alt-K: Ctrl-K
# --- Windows & Tabs ---
# Close Window
Alt-Shift-W: Ctrl-Shift-W
# Move Tab to start
Alt-Shift-Home: Ctrl-Shift-Home
# Move Tab to end
Alt-Shift-End: Ctrl-Shift-End
# New Private Window
Alt-Shift-P: Ctrl-Shift-P
# Undo Close Window
Alt-Shift-N: Ctrl-Shift-N
# --- History ---
# History Sidebar
Alt-Shift-H: Ctrl-Shift-H
# Clear Recent History
Alt-Shift-Delete: Ctrl-Shift-Delete
# --- Bookmarks ---
# Bookmark this page
Alt-D: Ctrl-D
# Bookmark sidebar
Alt-B: Ctrl-B
# Show/hide the Bookmark toolbar
Alt-Shift-B: Ctrl-Shift-B
# Show all Bookmarks
Alt-Shift-O: Ctrl-Shift-O
# --- Tools ---
# Downloads
Alt-J: Ctrl-Shift-Y
# Add-ons
Alt-Shift-A: Ctrl-Shift-A
# Toggle Developer Tools
Alt-Shift-I: Ctrl-Shift-I
# Web Console
Alt-Shift-K: Ctrl-Shift-K
# Interceptor
Alt-Shift-C: Ctrl-Shift-C
# Take a screenshot
Alt-Shift-S: Ctrl-Shift-S
# Network
Alt-Shift-E: Ctrl-Shift-E
# Responsive Design View
Alt-Shift-M: Ctrl-Shift-M
# Page Source
Alt-U: Ctrl-U
# Browser Console
Alt-Shift-J: Ctrl-Shift-J
# Page Info
Alt-I: Ctrl-I
# --- Miscellaneous ---
# Focus Address Bar
Alt-L: Ctrl-L
- name: Ferdium remaps
application:
only:
- Ferdium
remap:
# --- Navigation ---
# Back
Alt-LeftBrace: Alt-Left
# Forward
Alt-RightBrace: Alt-Right
# Switch subspace
Alt-1: Ctrl-1
Alt-2: Ctrl-2
Alt-3: Ctrl-3
Alt-4: Ctrl-4
Alt-5: Ctrl-5
Alt-6: Ctrl-6
Alt-7: Ctrl-7
Alt-8: Ctrl-8
Alt-9: Ctrl-9
- name: Nautilus remaps
application:
only:
- org.gnome.Nautilus
remap:
# --- Navigation ---
# Back
Alt-LeftBrace: Alt-Left
# Forward
Alt-RightBrace: Alt-Right
# Open settings
Alt-Comma: Ctrl-Comma
- name: 1Password remaps
application:
only: 1Password
remap:
# --- Basics ---
# View Keyboard Shortcuts
Alt-Shift-Slash: Ctrl-Shift-Slash
# Lock 1Password
Alt-Shift-L: Ctrl-Shift-L
# --- Navigation ---
# Find
Alt-F: Ctrl-F
# Switch to All Accounts
Alt-1: Ctrl-1
# Switch Accounts & Collections
Alt-2: Ctrl-2
Alt-3: Ctrl-3
Alt-4: Ctrl-4
Alt-5: Ctrl-5
Alt-6: Ctrl-6
Alt-7: Ctrl-7
Alt-8: Ctrl-8
Alt-9: Ctrl-9
# Back
Alt-LeftBrace: Ctrl-Left
# Forward
Alt-RightBrace: Ctrl-Right
# --- Selected Item ---
# Copy Primary Field
Alt-C: Ctrl-C
# Copy Password
Alt-Shift-C: Ctrl-Shift-C
# Copy One-Time Password
Alt-LeftMeta-C: Ctrl-Alt-C
# Open & Fill in Web Browser
Alt-Shift-F: Ctrl-Shift-F
# Open Item in New Window
Alt-O: Ctrl-O
# Open in 1Password
Alt-Shift-O: Ctrl-Shift-O
# Edit Item
Alt-E: Ctrl-E
# Save Item
Alt-S: Ctrl-S
# Reveal Concealed Fields
Alt-R: Ctrl-R
# Delete Item
Alt-Delete: Ctrl-Delete
# --- View ---
# Show/Hide Sidebar
Alt-Shift-D: Ctrl-Shift-D
# Zoom In
Alt-Equal: Ctrl-Shift-Equal
# Zoom In
Alt-Minus: Ctrl-Minus
# Actual Size
Alt-0: Ctrl-0
- name: Moonligh Forwarding
application:
only:
- Moonlight
- com.moonlight_stream.Moonlight
remap:
Ctrl-Alt-Shift-Q: Ctrl-Alt-Shift-Q
Ctrl-Alt-Shift-Z: Ctrl-Alt-Shift-Z
Ctrl-Alt-Shift-X: Ctrl-Alt-Shift-X
Ctrl-Alt-Shift-S: Ctrl-Alt-Shift-S
Ctrl-Alt-Shift-M: Ctrl-Alt-Shift-M
Ctrl-Alt-Shift-V: Ctrl-Alt-Shift-V
Ctrl-Alt-Shift-D: Ctrl-Alt-Shift-D
Ctrl-Alt-Shift-C: Ctrl-Alt-Shift-C
Ctrl-Alt-Shift-L: Ctrl-Alt-Shift-L