Section: Kate User's Manual (1)
kate - Advanced text editor by KDE
kate [-s, --start
- name] [--startanon] [-n, --new] [-b, --block] [-p, --pid
pid] [-e, --encoding
name] [-l, --line
line] [-c, --column column] [-i, --stdin] [--tempfile] [file]
Advanced Text Editor.
also provides the editor part for various applications, under the name
Kate's many features include configurable syntax highlighting for languages ranging from C and C++ to
to bash scripts, the ability to create and maintain projects, a multiple document interface (MDI), and a self-contained terminal emulator.
is more than a programmer's editor. Its ability to open several files at once makes it ideal for editing
UNIX®'s many configuration files. This document was written in
-s, --start name
with a given session.
with a new anonymous session, implies
Force start of a new
instance (is ignored if
is used and another
instance already has the given session opened), forced if no parameters and no URLs are given at all.
If using an already running
instance, block until it exits, if URLs given to open.
-p, --pid pid
Only try to reuse kate instance with this
(is ignored if
is used and another
instance already has the given session opened).
-e, --encoding name
Set encoding for the file to open
You can use this to force a file opened in utf-8 format, for instance. (The command
provides a list of encodings, which may be helpful to you.)
-l, --line line
Navigate to this line
-c, --column column
Navigate to this column
Read the contents of
The files/URLs opened by the application will be deleted after use
File to open
More detailed user documentation is available from m[blue]help:/katem
(either enter this URL into Konqueror, or run
There is also further information available at the m[blue]Kate websitem.
To open a file named
at column 15, line 25, in an existing
window, you could use:
kate -c 15 -l 25 source.cpp
If you have an active internet connection, you can take advantage of
KDE's network transparency to open a file from an ftp site. If you do not have write permission on the remote server, the file will be opened read only and you will be prompted for a local filename to save to if you make changes. If you do have write permission, changes will be saved transparently over the network.
The maintainer of
<email@example.com>. A comprehensive list of authors and contributors is available in the complete user manual mentioned above.
Lauri Watts <firstname.lastname@example.org>