Files
tldr/pages.zh/common/kate.md

32 lines
703 B
Markdown

# kate
> KDE 的高级文本编辑器。
> 更多信息:<https://kate-editor.org/>.
- 打开特定文件:
`kate {{path/to/file1 path/to/file2 ...}}`
- 打开特定的远程文件:
`kate {{https://example.com/path/to/file1 https://example.com/path/to/file2 ...}}`
- 即使已有实例打开,也创建新的编辑器实例:
`kate --new`
- 在特定行打开文件并将光标放置于该行:
`kate --line {{line_number}} {{path/to/file}}`
- 在特定行和列打开文件并将光标放置于该位置:
`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}`
-`stdin` 创建文件:
`cat {{path/to/file}} | kate --stdin`
- 显示帮助:
`kate --help`