Hey guys,
In shopping around for a good editor I've found that the one I prefer best was here all along - Kate. There's one little nuance I'd like to work out with it and I'll be set.
I'd like for any file I open (more specifically, .html, .php, .css, .js files) to all open in the same instance of Kate rather than in new ones.
I googled and found this FAQ and answer:
I assume kcontrol is the equivalent of Settings->System Settings, so I went there and clicked the 'Advanced' tab and went to the file association section. At first, just trying to get all .php files to open in the same Kate instance. I then went to applications->x-php in the side menu. I added the known extensions that I work with, and set the default program to open them to Kate. I then proceded to go to embedding tab and clicked "show file in embedded viewer". Saved.
I don't know if that's what I wanted to do, but clicking php files still opens in new instances of Kate rather than the same single instance.
What am I doing wrong here? Can this be done easier on the command line or in a config file?
In shopping around for a good editor I've found that the one I prefer best was here all along - Kate. There's one little nuance I'd like to work out with it and I'll be set.
I'd like for any file I open (more specifically, .html, .php, .css, .js files) to all open in the same instance of Kate rather than in new ones.
I googled and found this FAQ and answer:
Is it possible to open all files in the same Kate window?
Fri, 2006-12-15 18:17 — haumann
Yes, just go to: kcontrol -> KDE Components -> File Associations -> text -> file type (e.g. plain)
Now choose kate in the right list, hit “Edit…” and go to the programs tab, change the command to this:
kate -u %U
That should do the trick.
Fri, 2006-12-15 18:17 — haumann
Yes, just go to: kcontrol -> KDE Components -> File Associations -> text -> file type (e.g. plain)
Now choose kate in the right list, hit “Edit…” and go to the programs tab, change the command to this:
kate -u %U
That should do the trick.
I don't know if that's what I wanted to do, but clicking php files still opens in new instances of Kate rather than the same single instance.
What am I doing wrong here? Can this be done easier on the command line or in a config file?
Comment