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
0answers
57 views

KDE Kate: what has happened to font rendering?

After the last system update I noticed Kate had decided to use a different font. I normally use the Terminus (TTF) monospaced font, but now it was set to something default and not monospaced. When ...
0
votes
0answers
24 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 ...
0
votes
0answers
8 views

How exclude files with Kate Project plugin filter?

How do I exclude files from a project in Kate? I'm trying to exclude Ubuntu backup files from a project. Those are files ending with a tilde "~". I can get a Kate project to include list of all files ...
0
votes
1answer
33 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
81 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 ...
0
votes
0answers
10 views

How can i modify folding triggers for Kate?

I want to add new folding triggers in Kate; e.g. "(" and ")" for sql files, so I can toggle long sql statements like CREATE TABLE my_table ( uid INT UNSIGNED NOT NULL AUTO_INCREMENT, column1 INT, ...
0
votes
1answer
22 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 ...
1
vote
0answers
63 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 ...
1
vote
2answers
39 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?
1
vote
1answer
52 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 ...
0
votes
0answers
189 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 <!--...
1
vote
0answers
476 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 ...
0
votes
0answers
467 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 ...
1
vote
1answer
447 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.
7
votes
1answer
192 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
280 views

E: Package 'kate' has no installation candidate

$ sudo apt install kate Reading package lists... Done Building dependency tree Reading state information... Done Package kate is not available, but is referred to by another package. This may ...
2
votes
1answer
264 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) ...
1
vote
0answers
13 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: ...
22
votes
6answers
17k 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 ...
1
vote
0answers
39 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 ...
3
votes
3answers
430 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 ...
3
votes
0answers
150 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 ...
3
votes
1answer
676 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 ...
0
votes
1answer
156 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 ...
1
vote
0answers
214 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 ...
1
vote
0answers
139 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 ...
0
votes
0answers
48 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 ...
1
vote
0answers
75 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 ...
3
votes
0answers
2k 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. ...
1
vote
1answer
1k 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)?
6
votes
2answers
2k 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 ...
2
votes
1answer
579 views

How to set default syntax highlighting in Kate

By default when a new document is opened in Kate, the highlighting is set to normal, i.e. none. Is there any way to change this behavior, with a result that when a new "untitled" document is opened C ...
0
votes
2answers
54 views

search string in files and replace it incrementally

I have a directory with 152 files named plot_1 to plot_152. In each of those there's some R code with some index [[i]]. Using Kateversion 15.08.2, is it possible to search for [[i]] in each file and ...
5
votes
1answer
5k views

How to reset Kate default color schemes?

I accidentally changed some of Kate's default color schemes. How do I set them back to default? I tried reinstalling (including with the option to remove config files) but it kept my changes.
2
votes
0answers
480 views

How to create a Kate highlight syntax to CSV files

I'm working with CSV files and I'm using vim because of the rainbow csv plugin that makes the editing easier: http://www.vim.org/scripts/script.php?script_id=4598 But I prefer using Kate and as I ...
2
votes
2answers
4k views

How do you search and replace multiple lines in KDE Kate?

how do you replace multiple lines of code in Kate? The following is the original text: <div id="image"> <br style="clear: left"/> <br style="clear: left"/> <br style="clear: ...
2
votes
1answer
1k views

Location of colorscheme-files in Kate

In Kate one can export file Fortran.katehlcolor which store the information about color in syntax-highlighting. The syntax-highlighting files itself are located in ~/.kde/share/apps/katepart/syntax ...
8
votes
2answers
5k views

How to change default syntax-highlighting for header-file in Kate

Often I have to open header-files (with ending .h) in Kate. The default syntax-highlighting with which these files will be opened is always C++. How could this be changed to Fortran so that I don't ...
2
votes
1answer
268 views

How to have Kate spell check ignore run together words?

I use Kate editor for scientific programming (Fortran, Python, matlab) and would like to leave spell check on, but have it automatically ignore words that have been run together to create a variable ...
0
votes
1answer
436 views

Why are my system preferences not saved when changing file associations?

Every time I open a .csv file it tries to open in LibreOffice Calc which I don't want it to, so I changed the default program to Kate, and it updates the system preferences. But then the next time I ...
2
votes
0answers
587 views

AsciiDoc syntax highlighting plugin for Kate?

I'm looking for a way to add AsciiDoc syntax highlighting to the Kate editor. I haven't found anything yet, but I feel sure some solution exists because AsciiDoc appears to be very popular (and is ...
10
votes
2answers
7k views

Kate has no window borders, and thus no minimize, maximize, and close buttons

I usually use kate as my preferred text editor, however, whenever I open it there are no window borders, and thus no maximize, minimize, and close buttons. How can I fix this? I tried going thought ...
2
votes
1answer
1k views

Open file with default program and wait until the app is terminated [closed]

I want to open a text file from the command line with the default application. During that time the default app is opened, the terminal must be disabled (cannot execute another command). For example, ...
8
votes
2answers
10k views

Change directory for Kate syntax highlighting files

I'm running Standard Debian Wheezy with KDE 4.8.4 and Kate 3.8.4. The Kate text editor's syntax highlighting files are located in: /usr/share/kde4/apps/katepart/syntax If I run kde4-config --...
6
votes
1answer
1k views

File type based indentation in Kate

So after quite a lot of searching and frustration I'm here to ask how to do one of the most basic (or so I thought) things in a modern text editor. I want to set a different indentation for different ...
3
votes
1answer
2k views

Kate replaces alignment spaces by tabs

When indenting a block of code in Kate (3.11.2), spaces used for alignment are replaced by tabs, ruining all alignments and putting me in the hell of restoring all these spaces. Example: if (true) { ...
8
votes
1answer
5k views

How do I make Kate indent with spaces on Python files but use tabs for text files and other files?

My goal is to set Kate up to work properly on Python files but to use different settings (tabs not spaces) on other documents. I'm sure others are doing this, but I can't figure out a convenient ...
3
votes
2answers
897 views

How to switch text direction to rtl & ltr in kate and kwrite

How can I switch the text direction in kate and kwrite editors? I have English & Persian layouts and want to read the Persian text as right to left but I can't seem to be able to switch the ...