New Kate version. How to turn off various annoying "features"?

I love Kate and am using it since years.
However, when I updated my system, I found that I seem unable to deactivate some annoying “features” in the new Kate version:

  • Turning off autocompletion still works, luckily. However, when I type a bracket, apostrophe and the like, Kate always inserts the closing counterpart, too. This is hyper-annoying. How do I turn this off?

  • I have not yet managed to find out how to make the tab key work the normal, traditional way. I just want Kate to insert a \t at the cursor position. Instead of this, Kate indents the whole line. How do I configure the normal editor behaviour?

P.S.: The new Kate version here is 22.12.3.

Settings menu, Configure Kate… The General tab has the option for closing brackets, the Indentation tab has options for tabs.

2 Likes

Thank you very much!

The problem is just that I do not know what to activate. I have the feeling I tried all possible combinations and nothing works to deactivate the autoinsertion of the closing marks.
Maybe you can help me by telling me what to check in the General menu?

Regarding the tab key and the Indenting configuration:

On my FreeBSD computer, when I have marked some block, and press TAB, every line of the marked block gets indented (differently in the ctl-alt-b block mode, which also is ultra convenient :+1: ).
When nothing is marked, the tab key just works the traditional way, inserting a \t at the cursor position.

I would love to have this behaviour on Debian also. What do I have to check?

Ah sorry, I missed a step, choose the Editing category on the left, then the General tab and switch off the Automatically close brackets checkbox. As for Tabs, maybe set Indentation mode to None?

2 Likes

As for Tabs, maybe set Indentation mode to None?

This worked :slight_smile: Thank you :+1:

Editing category on the left, then the General tab
and switch off the Automatically close brackets checkbox.

Yes, this was already switched off.

The problem is just when I type, block mode activated, marked area stretching over multiple lines, then this setting " Automatically close brackets" seems to be always active, no matter of the checked/unchecked state of the configuration checkbox, always automatically auto-inserting the closing characters.
When nothing is marked, or normal (non-block-mode) marking was there, the setting is respected, not inserting anything except what was actually typed.

Any idea?

Empty the Enclosing characters field. Selected text is always surrounded by them if they are specified.

I can select two paragraphs, hit tab and both are indented by one (tab) space.

@j-knight After emptying the field, it showed a grey text “Feature is not active”.

Unfortunately this had no effect when typing in the block mode. Here a screenshot directly after entering the opening round bracket ‘(’: the closing bracket is automatically inserted :cry:

[as I only can post one image per post, screenshot follows next post]

@ben2talk Yes, the Editing->Indentation configuration tab looks different on Debian. This confuses me much, as I remember it being like yours from my FreeBSD machine. (Unfortunately, I cannot access that machine right now to verify)

This is what I get in block mode after typing an opening bracket (with the “Enclosing characters” field in the Editing->General menu empty):

You see, it still automatically adds the closing bracket…

This is true - I forget whether I turned this on (I had this for a long time, also custom colours to highlight between brackets):

I set the colour scheme item (Bracket Highlight) to very dark, as you see in the word 'multicoloured).

I have Plugin Manager :white_check_mark: Coloured Brackets and I can edit those colours to suit my current colour scheme (starting with my current scheme, copied/renamed for editing).

However, I’m not sure where (or, indeed, why) you’d turn that off… to get past the closing bracket you can simply type that bracket (i.e. you don’t have to use arrow keys or mouse to get past it) so it really does just serve as a useful reminder.

Screenshot_20250110_194518

You can disable automation…

Or you can remove items which are automated… if you remove all of them, then they are all disabled. You can enter any one, or all of the ones which you want automated.

KWrite vs Kate

Both of these applications are based on the same frameworks - you might think that they’re pointless duplicates.

However, you can configure KWrite to be your ‘text editor’ and Kate to be your ‘code editor’.

This means, if you type text (with brackets) you can do so in KWrite, with a nice proportional font.

However, when working with CODE, you select your nerdy monospace font.