mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
A new default shortcut to show the kitty documentation
This commit is contained in:
@@ -44,7 +44,7 @@ Detailed list of changes
|
|||||||
|
|
||||||
- A new option :opt:`modify_font` to adjust various font metrics like underlines, cell sizes etc. (:pull:`5265`)
|
- A new option :opt:`modify_font` to adjust various font metrics like underlines, cell sizes etc. (:pull:`5265`)
|
||||||
|
|
||||||
- A new mappable action :ac:`show_kitty_doc` to display the kitty docs in a browser
|
- A new shortcut :sc:`show_kitty_doc` to display the kitty docs in a browser
|
||||||
|
|
||||||
- Graphics protocol: Only delete temp files if they have the string
|
- Graphics protocol: Only delete temp files if they have the string
|
||||||
:code:`tty-graphics-protocol` in their file paths. This prevents deletion of arbitrary files in :file:`/tmp`.
|
:code:`tty-graphics-protocol` in their file paths. This prevents deletion of arbitrary files in :file:`/tmp`.
|
||||||
|
|||||||
@@ -3806,6 +3806,9 @@ shortcuts. For a full description see :doc:`hints kitten </kittens/hints>`.
|
|||||||
# shortcuts.misc {{{
|
# shortcuts.misc {{{
|
||||||
agr('shortcuts.misc', 'Miscellaneous')
|
agr('shortcuts.misc', 'Miscellaneous')
|
||||||
|
|
||||||
|
map('Show documentation',
|
||||||
|
'show_kitty_doc kitty_mod+f1 show_kitty_doc overview')
|
||||||
|
|
||||||
map('Toggle fullscreen',
|
map('Toggle fullscreen',
|
||||||
'toggle_fullscreen kitty_mod+f11 toggle_fullscreen',
|
'toggle_fullscreen kitty_mod+f11 toggle_fullscreen',
|
||||||
)
|
)
|
||||||
|
|||||||
2
kitty/options/types.py
generated
2
kitty/options/types.py
generated
@@ -861,6 +861,8 @@ defaults.map = [
|
|||||||
KeyDefinition(is_sequence=True, trigger=SingleKey(mods=256, key=112), rest=(SingleKey(key=110),), definition='kitten hints --type linenum'), # noqa
|
KeyDefinition(is_sequence=True, trigger=SingleKey(mods=256, key=112), rest=(SingleKey(key=110),), definition='kitten hints --type linenum'), # noqa
|
||||||
# open_selected_hyperlink
|
# open_selected_hyperlink
|
||||||
KeyDefinition(is_sequence=True, trigger=SingleKey(mods=256, key=112), rest=(SingleKey(key=121),), definition='kitten hints --type hyperlink'), # noqa
|
KeyDefinition(is_sequence=True, trigger=SingleKey(mods=256, key=112), rest=(SingleKey(key=121),), definition='kitten hints --type hyperlink'), # noqa
|
||||||
|
# show_kitty_doc
|
||||||
|
KeyDefinition(trigger=SingleKey(mods=256, key=57364), definition='show_kitty_doc overview'), # noqa
|
||||||
# toggle_fullscreen
|
# toggle_fullscreen
|
||||||
KeyDefinition(trigger=SingleKey(mods=256, key=57374), definition='toggle_fullscreen'), # noqa
|
KeyDefinition(trigger=SingleKey(mods=256, key=57374), definition='toggle_fullscreen'), # noqa
|
||||||
# toggle_maximized
|
# toggle_maximized
|
||||||
|
|||||||
Reference in New Issue
Block a user