Version: (using KDE 4.2.0) Compiler: gcc 4.3.2 OS: Linux Installed from: Compiled From Sources When using the vi input mode, the search & replace dialog does not function correctly. The "Next" button causes the cursor to always jump to the first occurrence of the search string in the file. Similarly, the "Previous" button always jumps to the last occurrence. The "Replace" button doesn't appear to do anything at all.
thanks for the report! i'm able to reproduce this and i'll have a look at it.
*** Bug 307608 has been marked as a duplicate of this bug. ***
Simon, could you give your patch a new try :=) Seems you are interested in fixing this ;)
(In reply to comment #3) > Simon, could you give your patch a new try :=) Seems you are interested in > fixing this ;) Hi Christoph, I think I'll probably end up taking a competely different tack and implementing an (optional) Vi Command Mode that lives in the Vi status bar, and leaving the Kate Search/ Replace dialog untouched - there's already quite a lot of Vi mode special cases in there, and even more would need to be required for what I have planned :)
*** Bug 330071 has been marked as a duplicate of this bug. ***
In general the searchbar works in vi-mode, but there is too much of special case handling involved, that some corner cases breaks. The only way to fix it on kde 4 branch is to add even more special case handling to the searchbar code. So as for kde 4 branch, corner cases wont be fixed. In KF5 the searchbar is completely replaced by KateViEmulatedCommandBar, which doesn't exhibit the problems. So closing as fixed in 5.0.