1
0
Fork 0
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:
Axel Navarro 2021-04-27 13:00:35 -03:00 committed by GitHub
parent f6a982b54a
commit 051ec5e29a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
pages/common/kate.md Normal file
View 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`