Add default keyboard shortcuts to jump words on macOS
This commit is contained in:
parent
6d3ad7d903
commit
6690c4f916
@ -194,6 +194,8 @@ Increase background opacity :sc:`increase_background_opacity`
|
||||
Decrease background opacity :sc:`decrease_background_opacity`
|
||||
Full background opacity :sc:`full_background_opacity`
|
||||
Reset background opacity :sc:`reset_background_opacity`
|
||||
Jump left one word :kbd:`⌥+←` (only on macOS)
|
||||
Jump right one word :kbd:`⌥+→` (only on macOS)
|
||||
================================== =======================
|
||||
|
||||
|
||||
|
||||
@ -1091,6 +1091,9 @@ the line (same as pressing the Home key)::
|
||||
map ctrl+alt+a send_text normal Word\\x1b[H
|
||||
map ctrl+alt+a send_text application Word\\x1bOH
|
||||
'''))
|
||||
if is_macos:
|
||||
k('send_text', 'alt+left', 'send_text all \x1b\x62', _('Jump left one word'), add_to_docs=False)
|
||||
k('send_text', 'alt+right', 'send_text all \x1b\x66', _('Jump right one word'), add_to_docs=False)
|
||||
# }}}
|
||||
# }}}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user