KDE button -> System Setting -> workspace -> search -> file search (you can turn it off or exclude directories)
In general, in KDE, don't edit config files, if you can use a gui tool.