Questions tagged [kate]

Kate is an advanced text editor for programmers.

Kate is a text editor for programmers. It is part of the KDE community. Kate has syntax highlighting for more than 200 file types and supports file-specific indenting and folding rules.

Kate has a Vi input mode that support most basic Vi commands and Vim extensions such as text objects.

92 questions
2
votes
2 answers

Fix Kate text editor line limit via bash script

The Kate text editor has a default line length of 1024 chars. I need to change this. And I need to change it via a bash script (it's for automated installs). Here's some background: https://stackoverflow.com/a/13496876/463994 I would appreciate a…
MountainX
  • 6,217
  • 8
  • 52
  • 83
2
votes
1 answer

GStreamer and dynamic subtitles

I am new to GStreamer and am trying to encode a video stream (for now v4l2src) with a subtitle stream and muxed into a matroska container. I am able to pass in a .srt file with subtitles that are then encoded into the text stream. However I am…
Dylan
  • 21
  • 3
2
votes
1 answer

Change the default sort order in KDE's file dialog (working with Kate)

Recently, my Kate text editor is showing files and folders "By Date" in the file dialogs, and I would like to get back to alphabetical order. I am running Ubuntu 12.04 with Unity, KDE Platform Version 4.8.5 (4.8.5), Kate Version 3.8.5. I can't…
jeorgen
  • 656
  • 5
  • 14
1
vote
2 answers

How can I customize the appearance of scroll bars in Kate?

Although Kate (the editing software) allows users to customize the look and feel of most of the items, but I've not been able to find a way to customize the appearance of its scroll bars. With a dark color scheme in use, the bright color of the…
1
vote
1 answer

Opa Syntax Highlighting for Kate

I see there are syntax highlighting extensions for Vi and Emacs in Opa binary package. I use KDE as my desktop environment so I was wondering if anybody knows such extensions for Kate?
BahmanM
  • 1,420
  • 10
  • 18
1
vote
0 answers

How do I paste from powershell so that the encoding is utf-8 into Kate Editor?

When I copy some multiline text from powershell in windows 10 into Kate, placing it in a multi-line comment in a Python script, and then try to run the same script again; I get an error : SyntaxError: (unicode error) 'unicodeescape' codec can't…
crazyfox
  • 155
  • 1
  • 1
  • 8
1
vote
1 answer

In Kate text editor, how to open new files in new windows by default?

I find terribly confusing to work with different files grouped in the same window: my mind needs to actually see different files floating in different windows. I know that I can have multiple Kate windows open, and show different files in each…
Fabio
  • 1,132
  • 1
  • 13
  • 21
1
vote
1 answer

Kate text editor project plugin issue

Hi fellow F/OSS enthusiasts, I'm having a problem with KDE's Kate. The editor won't show my project's file structure in the appropriate panel nor showing the project name in the dropdown selection for projects. Having the ability to quickly…
William
  • 48
  • 6
1
vote
2 answers

Where find Kate text editor key map / shortcuts config file?

Where do I find the config file that contains Kate text editor's keyboard shortcuts, so that I might copy it to a new installation? And how might I otherwise restore the key settings conveniently? I'm trying to recover Kate config, while migrating…
markling
  • 1,232
  • 1
  • 15
  • 28
1
vote
1 answer

Remove trailing spaces in Kate

I am using Kate for editing some source code. Unfortunately, I have lots of trailing space in there. Is there a simple way to clean the whole text document? I believe there is a simpler way than using a complicated Find/Replace operation with…
Simon U
  • 13
  • 4
1
vote
2 answers

How do I redirect from a built-in bin to execute an AppImage instead?

Scenario: the current version of Kate in Ubuntu 18LTS points at their customized version (which doesn't appear to support regex search capability). The bin is: /usr/bin/kate. Desired solution: run the Kate AppImage (which has the regex…
Jay Marm
  • 556
  • 5
  • 12
1
vote
1 answer

Kate Indenting Randomly

when coding, if I type something after indentation, it indents the code. example: x = true if x: print('thing') print('thing 2') would just become x = true if x: print('thing') print('thing 2') this is extremely annoying and I would…
1
vote
1 answer

how to build kate with cmake?

Dear stackoverflow users, I'm trying to compile kate from source but I'm getting an error with a not declared variable. So far these are the commands I'm using: #! /bin/bash cmake \ -D CMAKE_BUILD_TYPE=RelWithDebInfo \ -D…
Pablo
  • 23
  • 4
1
vote
1 answer

Can I configure the Kate kde editor to use the same 'Find' string across files?

I'm finally getting the hang of the (typically overly complex) Kate editor in KDE. The only thing I haven't figured out is how to override the default behavior of Kate maintaining a different 'Find' string for each file you have open. For example,…
littlenoodles
  • 435
  • 4
  • 13
1
vote
1 answer

Kate Editor Reset Settings

How can I reset the changings, i have done in Kate on a non KDE desktop? In Settings under Configure Kate in Fonts & Colors i mistakenly changed Vim(dark) to "Use KDE Colour Scheme" The Problem is, that it overwrote Vim.
MachineLeon
  • 35
  • 1
  • 5