Implement shortcuts in the RST docs

This commit is contained in:
Kovid Goyal
2018-06-04 21:33:20 +05:30
parent 1c93e2a94e
commit e7246fd024
2 changed files with 74 additions and 19 deletions

View File

@@ -616,10 +616,10 @@ k('paste_from_selection', 'kitty_mod+s', 'paste_from_selection', _('Paste from s
k('paste_from_selection', 'shift+insert', 'paste_from_selection', _('Paste from selection'))
k('pass_selection_to_program', 'kitty_mod+o', 'pass_selection_to_program', _('Pass selection to program'), long_text=_('''
You can also pass the contents of the current selection to any program using
pass_selection_to_program. By default, the system's open program is used, but
:code:`pass_selection_to_program`. By default, the system's open program is used, but
you can specify your own, for example::
map kitty_mod+o pass_selection_to_program firefox
map kitty_mod+o pass_selection_to_program firefox
'''))
# }}}