1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 01:15:26 +02:00
tldr/pages/common/kate.md

33 lines
805 B
Markdown
Raw Normal View History

# kate
> KDE's advanced text editor.
> More information: <https://docs.kde.org/stable/en/kate/kate/fundamentals.html#starting-from-the-command-line>.
- 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 {{[-n|--new]}}`
- Open a file with the cursor at the specific line:
`kate {{[-l|--line]}} {{line_number}} {{path/to/file}}`
- Open a file with the cursor at the specific line and column:
`kate {{[-l|--line]}} {{line_number}} {{[-c|--column]}} {{column_number}} {{path/to/file}}`
- Create a file from `stdin`:
`cat {{path/to/file}} | kate {{[-i|--stdin]}}`
- Display help:
`kate {{[-h|--help]}}`