X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f41398d8c482e38b0c288537a4e9e1c2a8a20692..2bc5cc531c50d87c208965cdc80c0f42df56ecb1:/qutebrowser/config.py diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 444f8f8..cbb8310 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -827,6 +827,14 @@ c.editor.command = in_terminal(['vim', '{file}', '-c', 'normal {line}G{column0}l ## Type: Encoding # c.editor.encoding = 'utf-8' +## Command (and arguments) to use for selecting a single folder in forms. +## The command should write the selected folder path to the specified +## file or stdout. The following placeholders are defined: * `{}`: +## Filename of the file to be written to. If not contained in any +## argument, the standard output of the command is read instead. +## Type: ShellCommand +c.fileselect.folder.command = in_terminal(['ranger', '--choosedir={}']) + ## Handler for selecting file(s) in forms. If `external`, then the ## commands specified by `fileselect.single_file.command` and ## `fileselect.multiple_files.command` are used to select one or multiple @@ -852,7 +860,7 @@ c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefiles={}'] ## the file to be written to. If not contained in any argument, the ## standard output of the command is read instead. ## Type: ShellCommand -c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefile={}']) +c.fileselect.single_file.command = in_terminal(['ranger', '--choosefile={}']) ## Font used in the completion categories. ## Type: Font @@ -1322,7 +1330,7 @@ c.qt.args = ['proxy-pac-url=file://' + str(config.configdir / 'proxy.pac')] ## Load a restored tab as soon as it takes focus. ## Type: Bool -c.session.lazy_restore = True +# c.session.lazy_restore = False ## Whether to automatically save a session when it is closed. ## Type: Bool @@ -1842,8 +1850,10 @@ config.bind('co', 'download-open') # config.bind('gf', 'view-source') # config.bind('gg', 'scroll-to-perc 0') # config.bind('gi', 'hint inputs --first') +config.bind('gl', 'tab-move -') # config.bind('gm', 'tab-move') # config.bind('go', 'set-cmd-text :open {url:pretty}') +config.bind('gr', 'tab-move +') # config.bind('gt', 'set-cmd-text -s :tab-select') # config.bind('gu', 'navigate up') # config.bind('h', 'scroll left') @@ -1851,7 +1861,6 @@ config.bind('co', 'download-open') # config.bind('j', 'scroll down') # config.bind('k', 'scroll up') # config.bind('l', 'scroll right') -# config.bind('m', 'quickmark-save') config.bind('m', 'spawn mpv {url}') # config.bind('n', 'search-next') # config.bind('o', 'set-cmd-text -s :open') @@ -1863,8 +1872,9 @@ config.bind('m', 'spawn mpv {url}') # config.bind('sk', 'set-cmd-text -s :bind') # config.bind('sl', 'set-cmd-text -s :set -t') # config.bind('ss', 'set-cmd-text -s :set') -config.bind('tCh', 'spawn --userscript config-cycle-tld -p content.cookies.accept no-3rdparty never;; reload') -config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; reload') +config.bind('sq', 'quickmark-save') +config.bind('tCh', 'spawn --userscript config-cycle-tld -p content.cookies.accept no-3rdparty never all;; reload') +config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never all;; reload') config.bind('tGh', 'spawn --userscript config-cycle-tld -p content.geolocation ;; reload') config.bind('tgh', 'spawn --userscript config-cycle-tld -p -t content.geolocation ;; reload') # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')