mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 16:26:02 +02:00
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
This commit is contained in:
parent
1ab3e787b1
commit
f25beb7f02
1 changed files with 9 additions and 9 deletions
|
@ -1,29 +1,29 @@
|
||||||
# kate
|
# kate
|
||||||
|
|
||||||
> KDE Text Editor.
|
> KDE's advanced text editor.
|
||||||
> More information: <https://kate-editor.org/>.
|
> 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`
|
`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}}`
|
`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}}`
|
`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`
|
`cat {{path/to/file}} | kate --stdin`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue