Adapt to new mode naming
Adapt to new mode namings as modes are now prefixed instead of suffixed.
This commit is contained in:
parent
51926b703c
commit
33f8cc3972
1 changed files with 13 additions and 13 deletions
|
@ -1606,7 +1606,7 @@ config.bind('<End>', 'scroll-to-perc 100')
|
|||
# config.bind('<Ctrl-Tab>', 'tab-focus last')
|
||||
# config.bind('<Ctrl-U>', 'scroll-page 0 -0.5')
|
||||
# config.bind('<Ctrl-V>', 'enter-mode passthrough')
|
||||
config.bind('e', 'enter-mode passthrough')
|
||||
config.bind('e', 'mode-enter passthrough')
|
||||
# config.bind('<Ctrl-W>', 'tab-close')
|
||||
config.bind('<Ctrl-x>k', 'tab-close')
|
||||
# config.bind('<Ctrl-x>k', 'set-cmd-text -s :tab-close')
|
||||
|
@ -1808,8 +1808,8 @@ config.bind('<Ctrl-/>', 'undo')
|
|||
# config.bind('<Ctrl-W>', 'rl-unix-word-rubout', mode='command')
|
||||
# config.bind('<Ctrl-Y>', 'rl-yank', mode='command')
|
||||
# config.bind('<Down>', 'completion-item-focus --history next', mode='command')
|
||||
config.bind('<Escape>', 'leave-mode', mode='command')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='command')
|
||||
config.bind('<Escape>', 'mode-leave', mode='command')
|
||||
config.bind('<Ctrl-g>', 'mode-leave', mode='command')
|
||||
config.bind('<Return>', 'command-accept', mode='command')
|
||||
# config.bind('<Shift-Delete>', 'completion-item-del', mode='command')
|
||||
# config.bind('<Shift-Tab>', 'completion-item-focus prev', mode='command')
|
||||
|
@ -1821,8 +1821,8 @@ config.bind('<Ctrl-/>', 'undo')
|
|||
# config.bind('<Ctrl-B>', 'hint all tab-bg', mode='hint')
|
||||
# config.bind('<Ctrl-F>', 'hint links', mode='hint')
|
||||
# config.bind('<Ctrl-R>', 'hint --rapid links tab-bg', mode='hint')
|
||||
config.bind('<Escape>', 'leave-mode', mode='hint')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='hint')
|
||||
config.bind('<Escape>', 'mode-leave', mode='hint')
|
||||
config.bind('<Ctrl-g>', 'mode-leave', mode='hint')
|
||||
# config.bind('<Return>', 'follow-hint', mode='hint')
|
||||
|
||||
## Bindings for insert mode
|
||||
|
@ -1837,14 +1837,14 @@ config.bind('<Ctrl-g>', 'leave-mode', mode='hint')
|
|||
# config.bind('<Ctrl-f>', 'rl-forward-char', mode='insert')
|
||||
# config.bind('<Ctrl-k>', 'rl-kill-line', mode='insert')
|
||||
# config.bind('<Ctrl-y>', 'rl-yank', mode='insert')
|
||||
config.bind('<Escape>', 'leave-mode', mode='insert')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='insert')
|
||||
config.bind('<Escape>', 'mode-leave', mode='insert')
|
||||
config.bind('<Ctrl-g>', 'mode-leave', mode='insert')
|
||||
# config.bind('<Shift-Ins>', 'insert-text {primary}', mode='insert')
|
||||
|
||||
## Bindings for passthrough mode
|
||||
# config.bind('<Ctrl-V>', 'leave-mode', mode='passthrough')
|
||||
config.bind('<Escape>', 'leave-mode', mode='passthrough')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='passthrough')
|
||||
config.bind('<Escape>', 'mode-leave', mode='passthrough')
|
||||
config.bind('<Ctrl-g>', 'mode-leave', mode='passthrough')
|
||||
|
||||
## Bindings for prompt mode
|
||||
# config.bind('<Alt-B>', 'rl-backward-word', mode='prompt')
|
||||
|
@ -1866,8 +1866,8 @@ config.bind('<Ctrl-g>', 'leave-mode', mode='passthrough')
|
|||
# config.bind('<Ctrl-X>', 'prompt-open-download', mode='prompt')
|
||||
# config.bind('<Ctrl-Y>', 'rl-yank', mode='prompt')
|
||||
# config.bind('<Down>', 'prompt-item-focus next', mode='prompt')
|
||||
config.bind('<Escape>', 'leave-mode', mode='prompt')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='prompt')
|
||||
config.bind('<Escape>', 'mode-leave', mode='prompt')
|
||||
config.bind('<Ctrl-g>', 'mode-leave', mode='prompt')
|
||||
config.bind('<Return>', 'prompt-accept', mode='prompt')
|
||||
# config.bind('<Shift-Tab>', 'prompt-item-focus prev', mode='prompt')
|
||||
# config.bind('<Tab>', 'prompt-item-focus next', mode='prompt')
|
||||
|
@ -1879,8 +1879,8 @@ config.bind('<Return>', 'prompt-accept', mode='prompt')
|
|||
## Bindings for yesno mode
|
||||
# config.bind('<Alt-Shift-Y>', 'prompt-yank --sel', mode='yesno')
|
||||
# config.bind('<Alt-Y>', 'prompt-yank', mode='yesno')
|
||||
config.bind('<Escape>', 'leave-mode', mode='yesno')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='yesno')
|
||||
config.bind('<Escape>', 'mode-leave', mode='yesno')
|
||||
config.bind('<Ctrl-g>', 'mode-leave', mode='yesno')
|
||||
config.bind('<Return>', 'prompt-accept', mode='yesno')
|
||||
config.bind('n', 'prompt-accept no', mode='yesno')
|
||||
config.bind('y', 'prompt-accept yes', mode='yesno')
|
||||
|
|
Loading…
Reference in a new issue