Anyway, while gEdit is great for everything else, it's given me an excuse to familiarise myself a bit more with Kate which I take is the KDE counterpart to gEdit. A counterpart that's on steroids like a lot of KDE applications (that's not necessarily a good thing -- see e.g. vim vs emacs -- but each to their own)
Another cool thing with kate is that you can run it in a vim compatibility mode. (Sure, there's also gVim for the real deal, but gVIM looks ugly on my computer and I'm a shallow person.)
sudo apt-get install kate
text/plain=kate.desktop text/x-python=kate.desktop text/x-sql=kate.desktop text/html=kate.desktop text/dat=kate.desktop text/xml=kate.desktop
You can associate kate with as many formats are you want this way.
[Desktop Entry] Name=kate Comment=kate text editor Exec=/usr/bin/kate Type=Application Categories=Office;Accessories;Set dynamic word wrap, enable vim, override
In gnome, either navigate through your menu to 'Main Menu' (under 'system tools') or, if you're running a stock gnome 3 without a menu, go to the overview mode (what you end up with when you put the mouse in the top left corner) and type in main menu.
Either way, go to accessories and tick the box next to Kate.
4. Set up kate
Start kate, go to settings, configure kate and set your defaults:
|Enable vi mode|
|Set up automatic spell check|
|Activate Dynamic Word Wrap|