When you create a new file in kate or gedit they name them like "Untitled1" or "Unsaved Document 1". How can you change this to some other string$n pattern of your choice?
felrood wrote:It's not a bug, it's a feature!Gedit seems to display data from stdin in a new "Unsaved document". For example:echo "foobar" | geditTo break the pipe opened by krusader, i replaced the command 'gedit %U' in krusader with this script:#!/bin/bash
gedit $1 < /dev/nullman, you're a genius. thank you so much! ps.
I'm trying to edit some files that were originally encoded in something like ISO-8859-15 (I'm not too sure). When the files are opened in Kate (13.8) on my Debian 7 box they display perfectly, with that encoding auto-selected. But when I open the same files using Kate (13.11.5) on my laptop with Kubuntu 13.10 installed, the non-ascii characters are replaced by an empty box character.
In kwrite, the default tab length (i.e. the number of spaces the cursor moves when you hit the tab key) is 2 chars. How can I change that to 8?
And yes, I'd rather be able to do this in kwrite than kate. I looked at kate a while ago, but there was something I didn't like about it. So I've stuck with kwrite, even though I don't remember what it is that I disliked about kate.