Unify modifier keys ordering ctrl+shift+alt/opt+cmd, and names

This commit is contained in:
pagedown
2021-11-15 17:38:07 +08:00
parent f5023e3269
commit 09c6c3e804

View File

@@ -411,7 +411,7 @@ copy to a private kitty buffer instead. Map a shortcut with the
:code:`paste_from_buffer` action to paste from this private buffer.
For example::
map cmd+shift+v paste_from_buffer a1
map shift+cmd+v paste_from_buffer a1
Note that copying to the clipboard is a security risk, as all programs,
including websites open in your browser can read the contents of the
@@ -596,7 +596,7 @@ mma('Start selecting text even when grabbed',
)
mma('Start selecting text in a rectangle even when grabbed',
'start_rectangle_selection_grabbed shift+ctrl+alt+left press ungrabbed,grabbed mouse_selection rectangle',
'start_rectangle_selection_grabbed ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle',
)
mma('Select a word even when grabbed',
@@ -609,7 +609,7 @@ mma('Select a line even when grabbed',
)
mma('Select line from point even when grabbed',
'select_line_from_point_grabbed shift+ctrl+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point',
'select_line_from_point_grabbed ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point',
long_text='Select from the clicked point to the end of the line'
)
@@ -3224,7 +3224,7 @@ map('Previous tab',
only="macos",
)
map('Previous tab',
'previous_tab shift+ctrl+tab previous_tab',
'previous_tab ctrl+shift+tab previous_tab',
)
map('New tab',
@@ -3329,7 +3329,7 @@ map('Increase font size',
only="macos",
)
map('Increase font size',
'increase_font_size cmd+shift+equal change_font_size all +2.0',
'increase_font_size shift+cmd+equal change_font_size all +2.0',
only="macos",
)
@@ -3344,7 +3344,7 @@ map('Decrease font size',
only="macos",
)
map('Decrease font size',
'decrease_font_size cmd+shift+minus change_font_size all -2.0',
'decrease_font_size shift+cmd+minus change_font_size all -2.0',
only="macos",
)
@@ -3450,7 +3450,7 @@ map('Unicode input',
'input_unicode_character kitty_mod+u kitten unicode_input',
)
map('Unicode input',
'input_unicode_character cmd+ctrl+space kitten unicode_input',
'input_unicode_character ctrl+cmd+space kitten unicode_input',
only="macos",
)
@@ -3540,7 +3540,7 @@ the new conf settings *replace* the old ones.
)
map('Reload kitty.conf',
'reload_config_file cmd+control+, load_config_file',
'reload_config_file ctrl+cmd+, load_config_file',
only='macos'
)