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