1

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, it's really annoying when you are looking at code and want to find a function in another module. Normally you'd doubleclick the function and then type Ctrl+F. So far so good, it sets up to find the highlighted text. But then switch to another module open in another tab, and hit F3. You get the expected 'Find Next' behavior, but the text it looks for is whatever you looked for last in that module. Not the text you just asked to find.

I can see how it might be a nice option to maintain separate 'Find' strings for each module, but seriously - as the default? And I can't find any way to change how this works.

Developer Guy
  • 2,318
  • 6
  • 19
  • 37
littlenoodles
  • 435
  • 4
  • 13

1 Answers1

0

There is a plugin that allows extended search in multiple files. I think you can also re-assign keyboard shortcuts to use this instead of the simple search.

Settings menu > Configure Kate > Plugins > Search & Replace

Christoph Feck
  • 466
  • 2
  • 8
  • 1
    I have that plugin enabled. Yes, it lets you type in a search term and search for it across open files. But it does not affect the default 'find' behavior, which is what most people use to do searching - because it's quicker. You can highlight some text and find will default to that text. The Search and Replace dialog has its own text input box - which, by the way, is also odd. Why on earth would the Search plugin not initialize it's text like Find does. Probably because it's a plugin. This should be built in behavior that 'just works' like in just about every other Programmer's editor. – littlenoodles Apr 28 '18 at 14:48