Document {url} and {url:pretty} for :set-cmd-text
This commit is contained in:
parent
3831dc38f7
commit
a9ab6abafd
@ -650,6 +650,8 @@ Syntax: +:set-cmd-text [*--space*] [*--append*] 'text'+
|
|||||||
|
|
||||||
Preset the statusbar to some text.
|
Preset the statusbar to some text.
|
||||||
|
|
||||||
|
You can use the `{url}` and `{url:pretty}` variables here which will get replaced by the encoded/decoded URL.
|
||||||
|
|
||||||
==== positional arguments
|
==== positional arguments
|
||||||
* +'text'+: The commandline to set.
|
* +'text'+: The commandline to set.
|
||||||
|
|
||||||
|
@ -95,6 +95,9 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
|
|||||||
def set_cmd_text_command(self, text, space=False, append=False):
|
def set_cmd_text_command(self, text, space=False, append=False):
|
||||||
"""Preset the statusbar to some text.
|
"""Preset the statusbar to some text.
|
||||||
|
|
||||||
|
You can use the `{url}` and `{url:pretty}` variables here which will get
|
||||||
|
replaced by the encoded/decoded URL.
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
Wrapper for set_cmd_text to check the arguments and allow multiple
|
Wrapper for set_cmd_text to check the arguments and allow multiple
|
||||||
|
Loading…
Reference in New Issue
Block a user