From fc999f247b9e2398be2cafdc30c00e660c3f0cc3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 11 Jul 2016 20:55:24 +0200 Subject: [PATCH] Update docs --- CHANGELOG.asciidoc | 2 ++ README.asciidoc | 1 + doc/help/commands.asciidoc | 12 ++++++++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 39170e103..a0098b8f9 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -34,6 +34,8 @@ Changed `gg` can be used with a count. - Aliases can now use `;;` to have an alias which executed multiple commands. - `:edit-url` now does nothing if the URL isn't changed in the spawned editor. +- `:bookmark-add` can now be passed a URL and title to add that as a bookmark + rather than the current page. Removed ------- diff --git a/README.asciidoc b/README.asciidoc index 6c7c3a8c7..ab2c8b250 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -179,6 +179,7 @@ Contributors, sorted by the number of commits in descending order: * skinnay * Zach-Button * Tomasz Kramkowski +* Ismail S * Halfwit * rikn00 * kanikaa1234 diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index bd85f2eac..7652277ba 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -8,7 +8,7 @@ |<>|Update the adblock block lists. |<>|Go back in the history of the current tab. |<>|Bind a key to a command. -|<>|Save the current page as a bookmark. +|<>|Save the current page as a bookmark, or a specific url. |<>|Delete a bookmark. |<>|Load a bookmark. |<>|Select tab by index or url/title best match. @@ -116,7 +116,15 @@ Bind a key to a command. [[bookmark-add]] === bookmark-add -Save the current page as a bookmark. +Syntax: +:bookmark-add ['url'] ['title']+ + +Save the current page as a bookmark, or a specific url. + +If no url and title are provided, then save the current page as a bookmark. If a url and title have been provided, then save the given url as a bookmark with the provided title. + +==== positional arguments +* +'url'+: url to save as a bookmark. If None, use url of current page. +* +'title'+: title of the new bookmark. [[bookmark-del]] === bookmark-del