From 8a6922691211b8c0b60dc894aed8fd69336aef21 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 31 Mar 2022 21:07:24 +0200 Subject: Fix spelling --- doc/help/commands.asciidoc | 4 ++-- qutebrowser/components/readlinecommands.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 58019f937..6003c0f1f 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -1943,7 +1943,7 @@ This acts like readline's end-of-line. === rl-filename-rubout Delete backwards using the OS path separator as boundary. -For behavior that matches readline's `unix-filename-rubout` exactly, use `:rl-rubout "/ "` instead. This command uses the OS path seperator (i.e. `\` on Windows) and ignores spaces. +For behavior that matches readline's `unix-filename-rubout` exactly, use `:rl-rubout "/ "` instead. This command uses the OS path separator (i.e. `\` on Windows) and ignores spaces. [[rl-forward-char]] === rl-forward-char @@ -1975,7 +1975,7 @@ Syntax: +:rl-rubout 'delim'+ Delete backwards using the given characters as boundaries. -With " ", this acts like readline's `unix-word-rubout`. With " /", this acts like readline's `unix-filename-rubout`, but consider using `:rl-filename-rubout` instead: It uses the OS path seperator (i.e. `\` on Windows) and ignores spaces. +With " ", this acts like readline's `unix-word-rubout`. With " /", this acts like readline's `unix-filename-rubout`, but consider using `:rl-filename-rubout` instead: It uses the OS path separator (i.e. `\` on Windows) and ignores spaces. ==== positional arguments * +'delim'+: A string of characters (or a single character) until which text will be deleted. diff --git a/qutebrowser/components/readlinecommands.py b/qutebrowser/components/readlinecommands.py index 6c2a2399f..4ac03041c 100644 --- a/qutebrowser/components/readlinecommands.py +++ b/qutebrowser/components/readlinecommands.py @@ -295,7 +295,7 @@ def rl_rubout(delim: str) -> None: With " ", this acts like readline's `unix-word-rubout`. With " /", this acts like readline's `unix-filename-rubout`, but consider - using `:rl-filename-rubout` instead: It uses the OS path seperator (i.e. `\` + using `:rl-filename-rubout` instead: It uses the OS path separator (i.e. `\` on Windows) and ignores spaces. Args: @@ -310,7 +310,7 @@ def rl_filename_rubout() -> None: r"""Delete backwards using the OS path separator as boundary. For behavior that matches readline's `unix-filename-rubout` exactly, use - `:rl-rubout "/ "` instead. This command uses the OS path seperator (i.e. + `:rl-rubout "/ "` instead. This command uses the OS path separator (i.e. `\` on Windows) and ignores spaces. """ bridge.rubout(os.sep) -- cgit v1.2.3-54-g00ecf