diff --git a/pages/common/kate.md b/pages/common/kate.md new file mode 100644 index 0000000000..26a669853c --- /dev/null +++ b/pages/common/kate.md @@ -0,0 +1,32 @@ +# kate + +> KDE Text Editor. +> More information: . + +- Launch Kate and open specific files: + +`kate {{path/to/file1}} {{path/to/file2}}` + +- Open a remote document in Kate: + +`kate {{https://example.com}}` + +- Launch Kate, creating a new instance even if one is already open: + +`kate --new` + +- Open a file in Kate with the cursor at the specific line: + +`kate --line {{line_number}} {{path/to/file}}` + +- Open a file in Kate with the cursor at the specific line and column: + +`kate --line {{line_number}} --column {{column_number}} {{path/to/file}}` + +- Launch Kate, creating a new temporary file with contents read from stdin: + +`cat {{path/to/file}} | kate --stdin` + +- Display help: + +`kate --help`