summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-20 09:53:35 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-20 10:12:50 +0100
commit12583d359ed1386f21eb92e4cc3708eb02790e22 (patch)
tree5dc80e4ce2051e907371edc0a1716cbebc06bf20
parentfc07f2cbdf6ca42bd0f12e7aa3e742bdf898b5e4 (diff)
downloadqutebrowser-12583d359ed1386f21eb92e4cc3708eb02790e22.tar.gz
qutebrowser-12583d359ed1386f21eb92e4cc3708eb02790e22.zip
Update docs
-rw-r--r--doc/changelog.asciidoc4
-rw-r--r--doc/help/settings.asciidoc4
-rw-r--r--qutebrowser/completion/models/filepathcategory.py2
-rw-r--r--qutebrowser/config/configdata.yml6
4 files changed, 13 insertions, 3 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index e32bbd2d4..63a40103a 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -112,6 +112,10 @@ Added
- New `--desktop-file-name` commandline argument, which can be used to customize
the desktop filename passed to Qt (which is used to set the `app_id` on
Wayland).
+- The `:open` completion now also completes local file paths and `file://` URLs,
+ via a new `filesystem` entry in `completion.open_categories`. Also, a new
+ `completion.favorite_paths` setting was added which can be used to add paths to
+ show when `:open` is used without any input.
- New userscripts:
* `kodi` to play videos in Kodi
* `qr` to generate a QR code of the current URL
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index 294715c7f..41dbd5b73 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -1763,8 +1763,8 @@ Default: +pass:[0]+
[[completion.favorite_paths]]
=== completion.favorite_paths
-The elements of this list show up in the completion window under the
-Filesystem category when the command line contains :open but no argument.
+Default filesystem autocomplete suggestions for :open.
+The elements of this list show up in the completion window under the Filesystem category when the command line contains `:open` but no argument.
Type: <<types,List of String>>
diff --git a/qutebrowser/completion/models/filepathcategory.py b/qutebrowser/completion/models/filepathcategory.py
index 6334d3ac5..5d6367a13 100644
--- a/qutebrowser/completion/models/filepathcategory.py
+++ b/qutebrowser/completion/models/filepathcategory.py
@@ -1,5 +1,7 @@
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
+# Copyright 2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
+#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml
index 4d13c12db..026589985 100644
--- a/qutebrowser/config/configdata.yml
+++ b/qutebrowser/config/configdata.yml
@@ -1158,7 +1158,11 @@ completion.favorite_paths:
valtype:
name: String
default: []
- desc: Default filesystem autocomplete suggestions for :open.
+ desc: >-
+ Default filesystem autocomplete suggestions for :open.
+
+ The elements of this list show up in the completion window under the Filesystem
+ category when the command line contains `:open` but no argument.
downloads.open_dispatcher:
type: