mirror of https://github.com/CrimsonTome/tldr.git
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.mdpull/1/head
parent
1ab3e787b1
commit
f25beb7f02
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in New Issue