1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 15:35:27 +02:00
tldr/pages/common/kate.md
CleanMachine1 af63077989
kate: refresh page (#16410)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-05-08 20:52:14 +03:00

805 B

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]}}