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
21
votes
2 answers

How to replace Kate regular expression

I am using the Kate editor. Here is a minimal example that shows my problem: I have a file with a bunch of occurrences of: \command{stuff} where stuff is some arbitrary string of letters. I want to replace this with \disobey{stuff} where stuff…
Jonathan Gallagher
  • 2,115
  • 2
  • 17
  • 31
14
votes
4 answers

Switching focus between editor and terminal in Kate

When working in Unix with various programming languages I often use Kate as my primary editor. It has a really nice function of being able to open a built-in terminal window which is quite useful. The problem is that switching back and forth to…
Dana
  • 2,619
  • 5
  • 31
  • 45
11
votes
2 answers

How do you use kate? Tips/Tricks/Workflow

We all seen a bunch of these? Mostly for IDE's but also for vim and emacs. Kate is (only) a text editor (an awesome one) but it has a ton of options plus a number of plugins, so its hard to know all of it well. How do use the Kate text editor?…
Roman A. Taycher
  • 18,619
  • 19
  • 86
  • 141
9
votes
3 answers

Remove auto-completion with Enter key in Kate text editor

In Kate text editor, one can auto complete using either the Tab or the Enter key. I find auto-completion with the Enter key disruptive, because often you really do mean what you say, and want to go to a new line. Who knew. How can I disable only…
Roman
  • 8,826
  • 10
  • 63
  • 103
7
votes
3 answers

Kate text editor cannot handle lines longer than 1024?

This is a very annoying limitation for editing some config files, such as mozilla prefs.js. It usually contains lines longer than that.
Wang
  • 7,250
  • 4
  • 35
  • 66
6
votes
2 answers

Using kate editor for c dev (with the ctags plugin)

I just started using the kate editor (was using vim) for c dev. I used ctags a lot with vim. So I would like to have the same with the kate editor. I enabled the Ctags plugin in the plugins list. It generates the tags file (.ctagsdb), but it does…
yaami
  • 573
  • 1
  • 6
  • 15
6
votes
3 answers

Kate "tab-spacing character" removal or turn-off

I am using Kate Text Editor for Linux Mint 14. I was wondering if there is any way to remove tab spacing? I mean where ever there is a tab-indent, there is a character >> which doesn't look good while editing and is even quite confusing (Please…
user1921298
  • 61
  • 1
  • 3
5
votes
2 answers

Can I reach the shell, web or menu commands from the Kate editor's JavaScript?

You can extend the KDE Kate editor with JavaScript, and control e.g. the undo buffer. I would like to call e.g. HTML Tidy from inside such a script, but I cannot find any bindings from inside the JavaScript environment to access the shell, the web,…
jeorgen
  • 656
  • 5
  • 14
5
votes
3 answers

Regular expression replace

I have to replace "something" in file with :something. My editor is kate can anyone suggest a search expression and placeholder for that. Example Input "code" "name" "remark" Output :code :name :remark
Biju CD
  • 4,999
  • 11
  • 34
  • 55
4
votes
3 answers

Can the line spacing or line height be changed?

Is it possible to keep the font the same size and increase the space between lines of text? I cannot find anything in the configuration settings or in the online handbook. I'm getting old and have a hard time looking at the code without putting a…
Gary
  • 2,393
  • 12
  • 31
4
votes
2 answers

kate editor, shortcut to "fold/unfold all"

kate editor (default kate package on Ubuntu 14.04). Is there a shortcut to "fold/unfold all"? I found an option in View menu, but it doesn't work as needed.
artm
  • 17,291
  • 6
  • 38
  • 54
4
votes
0 answers

Kate pate wont load KDE 4.13

Unsure if the upgrade to KDE 4.13(I am on beta 3) has caused something new to be done to load kate python plugins. I have done the usual linking sudo ln -s /usr/local/lib/python2.7/dist-packages/kate_plugins $(kde4-config…
sayth
  • 6,696
  • 12
  • 58
  • 100
4
votes
1 answer

How to install Kate-plugins?

I'm trying to install Kate-plugins pip install pysmell==0.7.3 pyplete==0.0.2 pep8==0.6.1 pyflakes==0.5.0 pyjslint==0.3.3 simplejson==2.6.1 work fine, but when I try pip install Kate-plugins have an error "error: could not create…
Vadim Zabolotniy
  • 347
  • 5
  • 16
3
votes
2 answers

Integrating gedit or kate in a Qt Application

I am trying to develop an a simple IDE for programming languages using Qt for my project.This IDE should contain a text editor and should have pretty printing feature in it.So developing a text editor with qt is out of question. So my question is:…
Tanmay J Shetty
  • 197
  • 2
  • 3
  • 9
3
votes
1 answer

How to enable yaml language server in Kate editor

There is a yaml language server I would like to use it in the Kate Editor. The Kate documentation for the language server plugin suggest configuration examples like: { "servers": { ... "python": { "command":…
sumid
  • 1,871
  • 2
  • 25
  • 37
1
2 3 4 5 6 7