Kate (acronym for KDE Advanced Text Editor) is a GUI multi-file TextEditor that comes with KDE. It features an attached console whose working directory tracks the containing directory of the file currently being edited. Syntax highlighting for the following ProgrammingLanguages is included:
Some handy bindings
(These keybindings may also work for other editors, such as Kates older sister, KWrite.)
- Ctrl d
- Comment the highlighted line
- Ctrl Shift d
- Uncomment the highlighted line
- Ctrl s
- Save
- Ctrl v
- Paste
- Ctrl c
- Copy
- Ctrl x
- Cut the highlighted area
- Ctrl z
- Undo
- Ctrl k
- Delete line
- Ctrl Backspace
- Delete word left
- Ctrl Del
- Delete word right
- Ctrl t
- Transpose characters
- Ctrl p
- Print
- Ctrl q
- Quit
- Ctrl w
- Close window
- Ctrl n
- New
- Ctrl a
- Select all
- Ctrl f
- Find
- Ctrl r
- Replace
- Ctrl g
- Go to line
- Ctrl j
- Delete line ending
- Ctrl k
- Delete line
- Ctrl o
- Open file
- Ctrl i
- Indent line(indents all selected lines)
- Ctrl Shift i
- Unindent selected lines
- Ctrl -
- Expand/collapse code loops
- F3
- Same as Ctrl f
- F11
- Show/Hide line numbering
Movement Shortcuts
- Ctrl Home
- Beginning of document
- Home
- Beginning of line
- Ctrl PgDn
- Bottom of view
- Ctrl End
- End of line
- Ctrl 6
- Matching bracket
- Ctrl PgUp
- Top of view
- Ctrl Left
- Word left
- Ctrl Right
- Word right
Adding the shift key to a move shortcut (eg. Ctrl Shift Home) will select the text between the current position and the destination.