mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
kate: add page (#5834)
* kate: add page * Replace --tempfile with --column example * Update pages/common/kate.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> * Explain line and column variables * Apply suggestions from code review Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
This commit is contained in:
parent
f6a982b54a
commit
051ec5e29a
1 changed files with 32 additions and 0 deletions
32
pages/common/kate.md
Normal file
32
pages/common/kate.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# kate
|
||||
|
||||
> KDE Text Editor.
|
||||
> More information: <https://kate-editor.org/>.
|
||||
|
||||
- Launch Kate and open specific files:
|
||||
|
||||
`kate {{path/to/file1}} {{path/to/file2}}`
|
||||
|
||||
- Open a remote document in Kate:
|
||||
|
||||
`kate {{https://example.com}}`
|
||||
|
||||
- Launch Kate, creating a new instance even if one is already open:
|
||||
|
||||
`kate --new`
|
||||
|
||||
- Open a file in Kate 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:
|
||||
|
||||
`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}`
|
||||
|
||||
- Launch Kate, creating a new temporary file with contents read from stdin:
|
||||
|
||||
`cat {{path/to/file}} | kate --stdin`
|
||||
|
||||
- Display help:
|
||||
|
||||
`kate --help`
|
Loading…
Add table
Reference in a new issue