improve emacs feeling
This commit is contained in:
parent
c8131d14e0
commit
5779744e78
1 changed files with 14 additions and 8 deletions
|
@ -922,7 +922,7 @@ c.editor.command = ['em', '{file}']
|
|||
## - all: Forward all unbound keys.
|
||||
## - auto: Forward unbound non-alphanumeric keys.
|
||||
## - none: Don't forward any keys.
|
||||
# c.input.forward_unbound_keys = 'auto'
|
||||
c.input.forward_unbound_keys = 'all'
|
||||
|
||||
## Enter insert mode if an editable element is clicked.
|
||||
## Type: Bool
|
||||
|
@ -935,7 +935,7 @@ c.editor.command = ['em', '{file}']
|
|||
## Automatically enter insert mode if an editable element is focused
|
||||
## after loading the page.
|
||||
## Type: Bool
|
||||
# c.input.insert_mode.auto_load = False
|
||||
c.input.insert_mode.auto_load = True
|
||||
|
||||
## Switch to insert mode when clicking flash and other plugins.
|
||||
## Type: Bool
|
||||
|
@ -1354,7 +1354,7 @@ c.tabs.width = '12%'
|
|||
## used by prepending the search engine name to the search term, e.g.
|
||||
## `:open google qutebrowser`.
|
||||
## Type: Dict
|
||||
# c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'}
|
||||
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'g': 'https://www.google.com.ar/search?q={}'}
|
||||
|
||||
## Page(s) to open at the start.
|
||||
## Type: List of FuzzyUrl, or FuzzyUrl
|
||||
|
@ -1408,6 +1408,7 @@ config.bind('<Alt-x>', 'set-cmd-text :')
|
|||
# config.bind(';h', 'hint all hover')
|
||||
# config.bind(';i', 'hint images')
|
||||
# config.bind(';o', 'hint links fill :open {hint-url}')
|
||||
config.bind('f', 'hint links fill :open {hint-url}')
|
||||
# config.bind(';r', 'hint --rapid links tab-bg')
|
||||
# config.bind(';t', 'hint inputs')
|
||||
# config.bind(';y', 'hint links yank')
|
||||
|
@ -1459,12 +1460,12 @@ config.bind('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave')
|
|||
config.bind('<F11>', 'fullscreen')
|
||||
config.bind('<F5>', 'reload')
|
||||
config.bind('r', 'reload')
|
||||
config.bind('<Return>', 'follow-selected')
|
||||
config.bind('<Return>', 'follow-selected ;; fake-key <Return>')
|
||||
config.bind('<Back>', 'back')
|
||||
config.bind('b', 'back')
|
||||
config.bind('l', 'back')
|
||||
config.bind('<Forward>', 'forward')
|
||||
config.bind('f', 'forward')
|
||||
config.bind('F', 'forward')
|
||||
# config.bind('=', 'zoom')
|
||||
# config.bind('?', 'set-cmd-text ?')
|
||||
# config.bind('@', 'run-macro')
|
||||
|
@ -1515,7 +1516,7 @@ config.bind('<Ctrl-x><Ctrl-f>', 'set-cmd-text -s :open -t')
|
|||
# config.bind('gl', 'tab-move -')
|
||||
# config.bind('gm', 'tab-move')
|
||||
# config.bind('go', 'set-cmd-text :open {url:pretty}')
|
||||
config.bind('g', 'set-cmd-text :open {url:pretty}')
|
||||
config.bind('G', 'set-cmd-text :open {url:pretty}')
|
||||
# config.bind('gr', 'tab-move +')
|
||||
# config.bind('gt', 'set-cmd-text -s :buffer')
|
||||
# config.bind('gu', 'navigate up')
|
||||
|
@ -1531,6 +1532,7 @@ config.bind('<Ctrl-f>', 'scroll right')
|
|||
# config.bind('m', 'quickmark-save')
|
||||
# config.bind('n', 'search-next')
|
||||
# config.bind('o', 'set-cmd-text -s :open')
|
||||
config.bind('g', 'set-cmd-text -s :open')
|
||||
# config.bind('pP', 'open -- {primary}')
|
||||
# config.bind('pp', 'open -- {clipboard}')
|
||||
# config.bind('q', 'record-macro')
|
||||
|
@ -1644,12 +1646,16 @@ config.bind('<Tab>', 'completion-item-focus next', mode='command')
|
|||
# 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('<Escape>', 'leave-mode', mode='hint')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='hint')
|
||||
# config.bind('<Return>', 'follow-hint', mode='hint')
|
||||
|
||||
## Bindings for insert mode
|
||||
# config.bind('<Ctrl-E>', 'open-editor', mode='insert')
|
||||
# config.bind('<Escape>', 'leave-mode', mode='insert')
|
||||
config.bind('<Ctrl-n', 'fake-key <Down>', mode='insert')
|
||||
config.bind('<Ctrl-p', 'fake-key <Up>', mode='insert')
|
||||
config.bind('<Escape>', 'leave-mode', mode='insert')
|
||||
config.bind('<Ctrl-g>', 'leave-mode', mode='insert')
|
||||
# config.bind('<Shift-Ins>', 'insert-text {primary}', mode='insert')
|
||||
|
||||
## Bindings for passthrough mode
|
||||
|
|
Loading…
Reference in a new issue