macOS: Add macOS standard shortcuts

For copy, paste and new OS window (⌘+C, ⌘+V, ⌘+N)
Only defined on macOS, not Linux, thanks to the new config
infrastructure.
This commit is contained in:
Kovid Goyal
2018-06-07 07:54:21 +05:30
parent faa5443d43
commit 23d089b4be
4 changed files with 31 additions and 9 deletions

View File

@@ -50,6 +50,9 @@ Changelog
- macOS: Keep kitty running even when the last window is closed. This is in
line with how applications are supposed to behave on macOS (:iss:`543`)
- macOS: Add macOS standard shortcuts for copy, paste and new OS window
(⌘+C, ⌘+V, ⌘+N)
- Add a config option (:opt:`editor`) to set the EDITOR kitty uses (:iss:`580`)
- Add a config option (:opt:`x11_hide_window_decorations`) to hide window

View File

@@ -138,7 +138,7 @@ Windows
Action Shortcut
======================== =======================
New window :sc:`new_window`
New OS window :sc:`new_os_window`
New OS window :sc:`new_os_window` (also :kbd:`⌘+n` on macOS)
Close window :sc:`close_window`
Next window :sc:`next_window`
Previous window :sc:`previous_window`
@@ -156,8 +156,8 @@ Other keyboard shortcuts
================================== =======================
Action Shortcut
================================== =======================
Copy to clipboard :sc:`copy_to_clipboard`
Paste from clipboard :sc:`paste_from_clipboard`
Copy to clipboard :sc:`copy_to_clipboard` (also :kbd:`⌘+c` on macOS)
Paste from clipboard :sc:`paste_from_clipboard` (also :kbd:`⌘+v` on macOS)
Paste from selection :sc:`paste_from_selection`
Increase font size :sc:`increase_font_size`
Decrease font size :sc:`decrease_font_size`