snippetbashTip
kate — KDE's advanced text editor. More information: <https://docs.kde.org/stable/en/kate/kate/fundamentals
Viewed 0 times
editorcommandtextclikateadvancedkdemore
Problem
How to use the
kate command: KDE's advanced text editor. More information: <https://docs.kde.org/stable/en/kate/kate/fundamentals.html#starting-from-the-command-line>.Solution
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]}}Code Snippets
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}}Context
tldr-pages: common/kate
Revisions (0)
No revisions yet.