X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5e8c1b2ffed92218181bbd755c405418f78931d4..80c2302d5be13cda1452b32adde54b451480ce82:/qutebrowser/config.py?ds=inline diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 8075a2b..b9ec5ab 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -24,7 +24,7 @@ try: def intercept(info: interceptor.Request): url = info.request_url if url.host() == "twitter.com": - url.setHost("nitter.net") + url.setHost("nitter.dark.fail") message.info("Redirecting to " + url.toString()) info.redirect(url) if url.host() == "xkcd.com": @@ -744,21 +744,21 @@ c.editor.command = in_terminal(['vim', '{file}', '-c', 'normal {line}G{column0}l ## Valid values: ## - default: Use the default file selector. ## - external: Use an external command. -# c.fileselect.handler = 'default' +c.fileselect.handler = 'external' ## Command (and arguments) to use for selecting multiple files in forms. ## The command should write the selected file paths to the specified ## file, separated by newlines. The following placeholders are defined: * ## `{}`: Filename of the file to be written to. ## Type: ShellCommand -# c.fileselect.multiple_files.command = ['xterm', '-e', 'ranger', '--choosefiles={}'] +c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefiles={}']) ## Command (and arguments) to use for selecting a single file in forms. ## The command should write the selected file path to the specified file. ## The following placeholders are defined: * `{}`: Filename of the file ## to be written to. ## Type: ShellCommand -# c.fileselect.single_file.command = ['xterm', '-e', 'ranger', '--choosefile={}'] +c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefile={}']) ## Font used in the completion categories. ## Type: Font @@ -990,7 +990,7 @@ c.hints.scatter = False ## unreliable on this setting, and they may match the url you are ## navigating to, or the URL you are navigating from. ## Type: Bool -# c.input.insert_mode.leave_on_load = False +c.input.insert_mode.leave_on_load = True ## Switch to insert mode when clicking flash and other plugins. ## Type: Bool