Compare commits
2 commits
51926b703c
...
c95d36e425
Author | SHA1 | Date | |
---|---|---|---|
c95d36e425 | |||
33f8cc3972 |
1 changed files with 16 additions and 14 deletions
|
@ -1507,11 +1507,13 @@ c.tabs.width = '10%'
|
|||
## Type: Dict
|
||||
c.url.searchengines = {'DEFAULT': 'https://www.google.com/search?q={}',
|
||||
's': 'https://searx.me/?q={}',
|
||||
'c': 'https://lib.rs/search?q={}',
|
||||
'c': 'https://crates.io/search?q={}',
|
||||
'l': 'https://lib.rs/search?q={}',
|
||||
'y': 'https://www.invidio.us/search?q={}',
|
||||
'dl': 'https://dict.leo.org/german-english/{}',
|
||||
'd': 'https://duckduckgo.com/?q={}',
|
||||
'i': 'https://www.imdb.com/find?q={}',
|
||||
'm': 'https://eu.mouser.com/c/?q={}',
|
||||
'w': 'https://wolframalpha.com/input/?i={}'}
|
||||
|
||||
## Page(s) to open at the start.
|
||||
|
@ -1606,7 +1608,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 +1810,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 +1823,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 +1839,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 +1868,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 +1881,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