1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/kate.md
Emily Grace Seville f25beb7f02
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
2022-11-29 07:48:58 +10:00

32 lines
686 B
Markdown

# kate
> KDE's advanced text editor.
> More information: <https://kate-editor.org/>.
- Open specific files:
`kate {{path/to/file1 path/to/file2 ...}}`
- Open specific remote files:
`kate {{https://example.com/path/to/file1 https://example.com/path/to/file2 ...}}`
- Create a new editor instance even if one is already open:
`kate --new`
- Open a file with the cursor at the specific line:
`kate --line {{line_number}} {{path/to/file}}`
- Open a file with the cursor at the specific line and column:
`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}`
- Create a file from `stdin`:
`cat {{path/to/file}} | kate --stdin`
- Display help:
`kate --help`