mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 22:58:46 +00:00
Update cheatsheets
This commit is contained in:
37
kate
Normal file
37
kate
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kate
|
||||
|
||||
> KDE's advanced text editor.
|
||||
> More information: <https://kate-editor.org/>.
|
||||
|
||||
- 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 --new`
|
||||
|
||||
- Open a file with the cursor at the specific line:
|
||||
|
||||
`kate --line {{line_number}} {{path/to/file}}`
|
||||
|
||||
- Open a file with the cursor at the specific line and column:
|
||||
|
||||
`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}`
|
||||
|
||||
- Create a file from `stdin`:
|
||||
|
||||
`cat {{path/to/file}} | kate --stdin`
|
||||
|
||||
- Display help:
|
||||
|
||||
`kate --help`
|
||||
Reference in New Issue
Block a user