Skip to main content

Questions tagged [kate]

Kate (KDE Advanced Text Editor) is a text editor that is part of the KDE project.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Change in Kate behaviour after upgrade to Plasma 6

In Plasma 5.27, when I opened a text file from Dolphin, if a session is running in the current workspace, it opened the file as a new tab, and if not, it started a new session in the current workspace ...
Krishnadev N's user avatar
0 votes
1 answer
34 views

Use find + xargs to edit multiple files at once with KDE Kate

The problem: Edit many files in one single kate process. FILE_LIST is a variable which contains a list of path FILE_LIST="$MAIN_PATH1 $MAIN_PATH2 ... $MAIN_PATH3" DST_DIR is the ...
jcdole's user avatar
  • 3
0 votes
0 answers
69 views

kate: Output external tool stdout to embedded terminal

I currently have set up several shortcuts that run external tools. Some of those tools generate some kind of summary. I would like to make that summary easier to read at a glance. The standard ...
user avatar
0 votes
0 answers
105 views

How to add dir to PATH for executing programs

Kate requires omnisharp to be added to the PATH. I'm not sure which configuration file needs to be modified to include omnisharp in Kate's PATH. Only when I start Kate through a console which contains ...
GuillemVS's user avatar
  • 101
1 vote
0 answers
867 views

How can I run the file currently open in the kate editor as a python script?

I am writing Python scripts and using a shebang line to specify the location of the Python interpreter in my system.: #!/usr/bin/env python So, in principle, my system should be able to run the ...
Fabio's user avatar
  • 487
1 vote
1 answer
500 views

How do I upgrade Kate editor to the latest version in Kubuntu 20.04?

I am running Kubuntu 20.04 with Kate editor pre-installed through Discover software center. Recently I've noticed, that the version of Kate I have is not the latest version available. Latest available ...
Linux_noob_2077's user avatar
1 vote
1 answer
540 views

Use meld in Kate editor, Flatpak version, to compare files and find differences

In Kate editor I have been using meld to compare files and find differences. I was happily using the contextual menu that you get when you have two files open and you right-click on the tab of the non ...
Fabio's user avatar
  • 487
0 votes
1 answer
515 views

Kate Editor LSP Client: Any way to specify an "entry file" for compilation?

Goal: If I have two c files, A and B, and I don't plan to compile B into an object file, but rather include it directly in A, can clangd (or any other LSP service that works with Kate) show me only ...
Eagle Orion's user avatar
0 votes
1 answer
1k views

How to install KDE / Qt / Plasma themes without the full Plasma package?

How do I install KDE / Qt / Plasma themes without installing the full (rather big) Plasma package? Or specifically in my case: How do I install a Dark theme for Kate editor?
VasyaNovikov's user avatar
  • 1,306
0 votes
1 answer
141 views

kate does not save the view / border settings?

When I run kate (from kde) it doesn't save the view / borders I set. I set line numbers and turn off the minimap. Then exit kate, run again, back to where I have to set the line numbers and disable ...
user3161924's user avatar
0 votes
1 answer
236 views

How to show a table of content (TOC) for a text document in KDE's Kate?

Is it possible to show a Table of Content (TOC) in Kate for text documents such as txt files or files without filetype? Maybe it's possible with some setting that I haven't found or with some plugin (...
mYnDstrEAm's user avatar
  • 4,388
2 votes
2 answers
500 views

How to write a plugin or script for Kate that takes a unicode code point and inserts the corresponding unicode character at cursor?

Entering arbitrary Unicode characters according to their code point is simple e.g. in Gedit (press Ctrl+Shift+u, enter the (hex) code point, press enter). One can even use the terminal. For example, ...
linguisticturn's user avatar
0 votes
1 answer
54 views

Text (from file) to running program

I have degenerative bone disease in my hands and would like to make YouTube videos that look like I am typing in a text editor such as Sublime or Kate (KDE). How can I make a text editor receive a ...
jwzumwalt's user avatar
  • 269
0 votes
1 answer
218 views

Kate replaces text instead of indenting when typing Tab on selected lines

I tried to change all the indentation settings to fix another problem yesterday, but now I have the following problem and I don't know which setting causes it. If I select lines and type Tab, I would ...
optical's user avatar
  • 115
0 votes
0 answers
1k views

Python code completion in Kate, what is the status?

Looking for a Python code completion in Kate, I have found this but this is fairly old (2013) and states that "This repository is unmaintained, because these plugins have been added to the ...
xenoid's user avatar
  • 9,018
0 votes
1 answer
549 views

How to strikethrough (a text) in Kate text editor?

So,how can I strikethrough a text in kate or kwrite?
Ramy's user avatar
  • 11
1 vote
1 answer
149 views

`kate -n new.txt %u` in Dolphin service menu saves one level up

When creating a new Dolphin service menu to create a new text file using Kate (given there is no shortcut for that like for folders and that the menu option is rather hidden under multiple clicks as ...
cipricus's user avatar
  • 1,629
8 votes
1 answer
15k views

Using Kate text editor, how to compare two files and find differences

I am using Kate text editor, and I would like to compare two files, and find (highlight) their differences. Maybe there is a plugin to do that? I would be open to solutions other than using Kate, e.g. ...
Fabio's user avatar
  • 487
0 votes
1 answer
405 views

How to enable commenting of .asy files in Kate?

How to enable commenting of .asy files in Kate? In the Kate editor, for some types of files, one can comment and uncomment lines by pressing Ctrl+D and Ctrl+Shift+D. But, in Kate's default ...
linguisticturn's user avatar
2 votes
2 answers
432 views

Make Kate to ask password only once, instead of asking it at every file saving?

I am using KDE and Kate editor. When I want to edit some common system files such as configs in /etc, I am asked for password to save my edits. When I am editing files, I often do several changes, ...
Ashark's user avatar
  • 979
-1 votes
1 answer
269 views

How to link in between text document of personal notes with tags (to jump between lines across files in a text editor like Kate)?

I'd like to have keywords in textfiles opened with the text-editor Kate that when clicked jump to a specific line marked with a keyword of another textfile, usually open in another tab in Kate. Here ...
mYnDstrEAm's user avatar
  • 4,388
2 votes
0 answers
115 views

How make apps keep track of moved + renamed files

Whenever I move or rename files with my desktop file browser, it causes havoc with other desktop applications. The apps can no longer find the files. What can I do to make my desktop apps stop being ...
markling's user avatar
  • 213
1 vote
1 answer
1k views

Adding a new file extension for Kate syntax highlighting did not work as expected

I want to get Kate to highlight files ending in .jinja2 as html. As described here, I tried adding *.jinja2 to the markdown/html mime type using settings, but even after closing/reopening Kate, the ...
Stonecraft's user avatar
1 vote
1 answer
281 views

Pipe a Man Page to Kate Without Writing to Hard Drive

What command will pipe a man page to Kate text-editor without writing anything to the hard drive? I've seen examples that create a temp file (on the file system) and then open that tmp file with a ...
Lonnie Best's user avatar
  • 5,175
0 votes
2 answers
2k views

How can I type Russian characters with accents in KDE?

I use KDE and have enabled the Russian keyboard layout. This works fine except that I see no opportunity to add accents to vowels. Is this in fact possible? I wish to use them in applications such as ...
PJTraill's user avatar
  • 184
0 votes
1 answer
157 views

How can I delete marks in Kile/Kate in vim-mode?

When setting marks in Kile’s/Kate’s vim-mode via m. the line will be highlighted. This can be annoying and the attempt to remove the mark via :delmarks fails with unknown command: “delmarks”. Is it ...
karlsebal's user avatar
  • 815
2 votes
0 answers
331 views

Kate Editor: force Python files to use spaces instead of tabs

For Python files, I must use spaces for indenting. My default Kate editor setting uses tabs. I don't want to change the default, but I want to configure the proper settings for Python files. I found ...
MountainX's user avatar
  • 18.2k
1 vote
2 answers
266 views

Remove word accidentally added to dictionary in Kate

I misclicked when correcting a spelling error when using Kate and added the misspelled word to my dictionary, how do I go about removing it?
Lucas's user avatar
  • 1,447
1 vote
1 answer
182 views

Kate/Kwrite editor drag/drop/copy functionality gone

Somehow I've lost some functionality in Kate and Kwrite which I've employed frequently. In the past, as recently as a couple hours ago, I could select some text and drag-and-drop it elsewhere. If the ...
Chindraba's user avatar
  • 1,478
1 vote
1 answer
532 views

KATE GUI - KDE - How to insert date in KDE snippet script?

When running Kate snippets, I do not know how to use the date variable in a snippet. When I am trying to create a personal snippet where the current date can be inserted such as Snippet #A-1 <!--...
Julien Tremblay McLellan's user avatar
2 votes
0 answers
1k views

Kate editor installing custom syntax highlighting files for older versions

I am, unfortunately, forced to work remotely with a remote machine which runs on a very old version of centos. I need to do some SystemVerilog coding. This machine is limited to an intranet and ...
Dumbo's user avatar
  • 1,566
1 vote
0 answers
1k views

opening editors on files with invalid characters in them

In my use case, I have a lot of text files containing invalid characters. When I search through those files, e.g. grep "some text" /home/bla/blubb/* | xargs editor_of_your_choise I'm ...
aldr's user avatar
  • 123
3 votes
6 answers
2k views

insert current date into text document while editing it in Kate

I would like to insert the current date into an open Kate text document while editing it by using a shortcut key combination. I see several such options for Atom, but I don't find anything for Kate.
MountainX's user avatar
  • 18.2k
7 votes
1 answer
366 views

Why does Kate replace spaces in filename with "%20", thus preventing opening it?

I'm using the Kate editor ver 16.04.2 on live knoppix 7.7.1 on a usb stick. When I double-click on a normal text file in pcmanfm, Kate opens but it replaces the spaces in the filename with %20, and ...
dave's user avatar
  • 71
1 vote
1 answer
3k views

How to set default color and font schemes for different katepart applications

katepart is the base for many KDE editing tasks and I mostly use it 1) as the editing component of kile, the LaTex editor, and 2) as standalone kate or kwrite for editing text files such as HTML or ...
shevek's user avatar
  • 111
2 votes
1 answer
533 views

What limits Kate text editor search feature?

I am fairly new with Kate, started to use it, because it's search feature shows the number of occurrences found. But now I found a problem with search. It works fine for few line files (few hundreds) ...
P_M's user avatar
  • 123
1 vote
0 answers
20 views

kate: flickery line-number popup

Kate is showing line numbers in a popup box, like a tool-tip, when I scroll up or down. The box flickers when scrolling with touchpad / pointing stick, and I hate it. Can I disable it? Version: ...
sourcejedi's user avatar
  • 51.1k
27 votes
6 answers
23k views

Ugly Horizontal Lines Displayed in Kate and Konsole with Fractional HiDPI Scaling

Here is a picture of the problem: Notice that all lines of text have horizontal lines similar to underlining. However, this is a plain text editor (Kate) and it does not do underlining. There is no ...
MountainX's user avatar
  • 18.2k
2 votes
0 answers
94 views

Kate and indented comments

Is there a way to to configure Kate so that, when I use the Comment tool, it indents the comments to where the code is currently indented? For example, consider the following Ruby code. def ...
tscheingeld's user avatar
3 votes
3 answers
663 views

Kate and case sensitive search

I've found several web pages that talk about how to set case sensitivity in searches in Kate. However, what I actually see on my screen doesn't match any of those pages. Here's a screen shot in which ...
tscheingeld's user avatar
6 votes
1 answer
519 views

Scrolling behavior in Kate

On my system, one click of the scroll wheel on the mouse moves 3 lines. Kate seems to be scrolling based on 3 file-lines. Whereas something like Notepad++ in Windows scrolls 3 visible-lines (which ...
User51610's user avatar
  • 161
4 votes
1 answer
1k views

Extend syntax highlighting for Markdown in Kate?

Is there a plugin/xml file or any way to extend the capability of Kate to highlight Markdown? I am really comfortable with Kate (using version 15.12.3) and I use it to write logs. For plain-text ...
Honeybear's user avatar
  • 268
0 votes
1 answer
264 views

How to change background color of side panels of Kate using i3?

I'm struggling with applying solarized theme onto my i3 on archlinux. It works perfectly in terminals but I can't get to colour kate's side panels. Changing kate's inner configuration does not work ...
S. Miklino's user avatar
2 votes
0 answers
418 views

Kate editor: how to define / add filetype filters in file dialogs?

I use Kate extensively. When opening and saving files, I would like to have several pre-defined options to filter by filetype (extension). In Arch Linux Kate only shows the "All Files" filter in file ...
MountainX's user avatar
  • 18.2k
1 vote
0 answers
332 views

KDE5 kate wont open remote ssh location (fish) of currently opened file

Since moving to the new Linux Mint 18.1 the KDE version that comes with is KDE5. In KDE4 when using kate on a remote file using fish:// when asking to open another file it would have opened the ...
meame69's user avatar
  • 11
0 votes
0 answers
54 views

Why does the context menu take forever to open in Kdevelop?

I'm running Kdevelop 4.6.0 on Linux Mint 17.3, Mate. I've tried other version of Kdevelop but they have the same issue. When you right click in Kdevelop to open a context menu, I can literally count ...
Nick's user avatar
  • 1,141
1 vote
0 answers
91 views

fedora 24 - kate and texmaker appear zoomed

I just installed texmaker and kate in my fedora 24 system. The problem is that they appear "zoomed in" and they cannot function properly as the following picture shows However, I have a clue on ...
Thanos's user avatar
  • 435
4 votes
0 answers
5k views

Kate can't show some newline characters using escape sequences

Kate and KWrite both don't show all \n characters. Problems appear to be next to where there are empty lines. The problem isn't just in the highlighting itself. Wrong number of matches are found. ...
iJustWantVolume's user avatar
1 vote
1 answer
2k views

Install Kate with Konsole Terminal plugin in Fedora23

I installed Konsole and then Kate in Fedora 23. How do I get the Konsole (Terminal?) plugin (I want to have a Konsole (or Terminal) window in Kate, at the bottom of the screen)?
user189035's user avatar
7 votes
2 answers
4k views

How can I tell which dictionary kate/KDE is using for spell checking?

I noticed that kate thinks that a particular word is spelled correctly, even though is it misspelled. When I check the word using aspell or enchant utilities, they both correctly identify it as being ...
depquid's user avatar
  • 3,921