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
pull/1/head
Emily Grace Seville 2022-11-29 07:48:58 +10:00 committed by GitHub
parent 1ab3e787b1
commit f25beb7f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -1,29 +1,29 @@
# kate
> KDE Text Editor.
> KDE's advanced text editor.
> More information: <https://kate-editor.org/>.
- 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`