From f25beb7f02de07e5aa851df3eefcdd6ca81b6802 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Tue, 29 Nov 2022 07:48:58 +1000 Subject: [PATCH] kate: refresh page (#9546) * Refresh `kate` command description * Enhance descriptions: - remove mentioning editor name many times - use backticks for i/o streams - simplify descriptions * Enhance first two examples: - expand placeholders - expand descriptions * Error fixed * Update pages/common/kate.md --- pages/common/kate.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/common/kate.md b/pages/common/kate.md index dbbe22dff..c8a844439 100644 --- a/pages/common/kate.md +++ b/pages/common/kate.md @@ -1,29 +1,29 @@ # kate -> KDE Text Editor. +> KDE's advanced text editor. > More information: . -- Launch Kate and open specific files: +- Open specific files: -`kate {{path/to/file1}} {{path/to/file2}}` +`kate {{path/to/file1 path/to/file2 ...}}` -- Open a remote document in Kate: +- Open specific remote files: -`kate {{https://example.com/path/to/file}}` +`kate {{https://example.com/path/to/file1 https://example.com/path/to/file2 ...}}` -- Launch Kate, creating a new instance even if one is already open: +- Create a new editor instance even if one is already open: `kate --new` -- Open a file in Kate with the cursor at the specific line: +- Open a file with the cursor at the specific line: `kate --line {{line_number}} {{path/to/file}}` -- Open a file in Kate with the cursor at the specific line and column: +- Open a file with the cursor at the specific line and column: `kate --line {{line_number}} --column {{column_number}} {{path/to/file}}` -- Launch Kate, creating a new temporary file with contents read from stdin: +- Create a file from `stdin`: `cat {{path/to/file}} | kate --stdin`