Cleanup previous PR

This commit is contained in:
Kovid Goyal 2026-03-27 21:36:07 +05:30
parent bad02b1d31
commit 65cd74bfa0
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 11 additions and 9 deletions

View file

@ -194,6 +194,8 @@ Detailed list of changes
- Fix completion for ``edit-in-kitty`` not including some common text file types
- Allow holding the :kbd:`Alt` key and triple-clicking to select from the first cell even if it is empty (:pull:`9758`)
0.46.2 [2026-03-21]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -972,8 +972,8 @@ mma('Select a line',
'select_line left triplepress ungrabbed mouse_selection line',
)
mma('Select line from beginning of line',
'select_line_from_begin left triplepress ungrabbed mouse_selection line_from_begin',
mma('Select line from first cell',
'select_line_from_begin alt+left triplepress ungrabbed mouse_selection line_from_begin',
)
mma('Select line from point',
@ -1023,8 +1023,8 @@ mma('Select a line even when grabbed',
'select_line_grabbed shift+left triplepress ungrabbed,grabbed mouse_selection line',
)
mma('Select line from begin even when grabbed',
'select_line_from_begin_grabbed left triplepress ungrabbed,grabbed mouse_selection line_from_begin',
mma('Select line from first cell',
'select_line_from_begin_grabbed shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_begin',
)
mma('Select line from point even when grabbed',

10
kitty/options/types.py generated
View file

@ -1095,7 +1095,7 @@ defaults.mouse_map = [
# select_line
MouseMapping(repeat_count=3, definition='mouse_selection line'),
# select_line_from_begin
MouseMapping(mods=6, repeat_count=3, definition='mouse_selection line_from_begin'),
MouseMapping(mods=2, repeat_count=3, definition='mouse_selection line_from_begin'),
# select_line_from_point
MouseMapping(mods=6, repeat_count=3, definition='mouse_selection line_from_point'),
# extend_selection
@ -1122,14 +1122,14 @@ defaults.mouse_map = [
MouseMapping(mods=1, repeat_count=3, grabbed=True, definition='mouse_selection line'),
# select_line_grabbed
MouseMapping(mods=1, repeat_count=3, definition='mouse_selection line'),
# select_line_from_begin_grabbed
MouseMapping(mods=3, repeat_count=3, grabbed=True, definition='mouse_selection line_from_begin'),
# select_line_from_begin_grabbed
MouseMapping(mods=3, repeat_count=3, definition='mouse_selection line_from_begin'),
# select_line_from_point_grabbed
MouseMapping(mods=7, repeat_count=3, grabbed=True, definition='mouse_selection line_from_point'),
# select_line_from_point_grabbed
MouseMapping(mods=7, repeat_count=3, definition='mouse_selection line_from_point'),
# select_line_from_begin_grabbed
MouseMapping(mods=7, repeat_count=3, grabbed=True, definition='mouse_selection line_from_begin'),
# select_line_from_begin_grabbed
MouseMapping(mods=7, repeat_count=3, definition='mouse_selection line_from_begin'),
# extend_selection_grabbed
MouseMapping(button=1, mods=1, grabbed=True, definition='mouse_selection extend'),
# extend_selection_grabbed