From 051ec5e29af54e80c5b96f5910e23adf69d7a6da Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Tue, 27 Apr 2021 13:00:35 -0300 Subject: [PATCH] kate: add page (#5834) * kate: add page * Replace --tempfile with --column example * Update pages/common/kate.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> * Explain line and column variables * Apply suggestions from code review Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/kate.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/kate.md 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`