The Kate text editor is 20 years old
kate-editor.org
kate-editor.org
Kate is my daily driver for +10yrs now. I could never find the time to learn vim or emacs. Kate just has everything I need, such as regexp/escape search&replace or block cursor mode editing. And for anything I cannot do in Kate, I'm using some quick scripting with inline perl or bash.
Thank's to KIOSlaves (what's the 2020 name for that?), editing files on remote hosts is just an sftp://.... away. This usually works fine on stable connections (on unstable connections, mosh+vim will give a better usage experience).
When I used Kate last mounting remote files was done with fish:// and used SSH creds and sftp.
I'm not sure what the best way to learn is, but try `vimtutor` on your shell and keep open a Vim cheat sheet like the one here: http://michael.peopleofhonoronly.com/vim/
I recommend https://danielmiessler.com/study/vim/ for those trying to learn vim
They make more sense for reverse-engineering, i.e. you accidently just hit a key, and you want to find out what it did.
I guess they still are useful to study in one big go, when you have some time to sit down and purely just study + practise keybindings (not working on real code) and helps with muscle memory kind of thing.
But less so when I'm being impatient and just want to figure out one thing that I need right now (while working on some real project).
With KDE 4, Kate became "literally unusable" for me, because it no longer re-uses a word you searched for in other editor tabs.
So you search for "size_t" in one open document and press F3 to go to the next ones. Then you open a different document and press F3, and it doesn't search for "size_t" anymore! In the KDE 3.5 version of Kate, that worked correctly. Also other things made search worse like integrating it in a tiny thing at the bottom rather than a proper dialog.
I discovered and switched to Geany then, which is similar to Kate but better in almost all aspects and more configurable.
Same here. It greatly helped my move to a Linux-only desktop.
> With KDE 4, Kate became "literally unusable" for me
It's been a long time since the release of KDE 4, but that was what did it for me too (it's been so long I don't remember the specifics). I was able to keep using the 3.x version for a while. Once that started to become an issue, I moved basically everything to Geany. I just checked and I don't even have it installed - hard to believe, given how much I used to use it.
I'm using them even on non kde desktops..
Sure, there are a few bugs and features that could be added. But it is a no match for other editors when you compare with the criterions: open source, free, lightweight to use.
What does Kdevelop do that I won't get with Pycharm?
Kdevelop is really not all that bad, and it does a good job of getting out of the way. That said, I'm using PyCharm for 99% of my work in Python. Kdevelop, I keep around for the occasion when I want to tweak a KDE app.
Just in time to port everything to Qt 6 and start the merry-go-round again!
Kidding, but also not really.
I've never used Kate seriously, but I'm curious about what benefits it provides...
If it's set to "n" (for "normal mode") or "a" (for "all modes"), it pretty much does what you're mentioning: one can instantly move the cursor to a given spot; use the scroll wheel to scroll the document, and (via netrw or any other file explorer or side-bar plugin) double-click to open a different file.
If someone wanted good mouse support, I'm not sure it'd cut it. I prefer keyboard selection myself, but there are times mouse selection is faster, and I usually use not-vim for that.
In Emacs you need to configure LSP, which is a non-trivial task.
I have no idea how Kate rates in that aspect, have never used it. Suprised to hear that it's still alive (but that doesn't mean negatively surprised).
The main benefit is about choice, I keep a stack of text editors around just out of curiosity, because I like playing with software and editors and sometimes you find features you think are neat, and then go off to try and replicate them in your main editor or tool. Open source software is good at communicating ideas and text editors as a whole have really improved each other over the last three or four decades.
The reasons both Emacs and Vim have a Qt version as well instead of purely relying on a terminal protocol are obvious:
- ability to have fonts of different sizes
- ability to listen to more complicated keyboard shortcuts
- cleaner ways of opening popups
- ability to combine multiple fonts
- support for more colors
The downside of such a more complex protocol is that it's more involved to tunnel it over a network and doing attaching to X11 is also quite a bit more complicated than doing it to a terminal program.
It's just a pleasure to use.
There are some blind people who do use, and love, vim/Emacs, bit GUI editors which integrate with their OSes accessibility features are usually a better experience.
If you want an example, sometimes for errors vim prints something at the bottom, it's not clear to a screen reader if it should go read that, and why.
Im not particularly overawed with emacs or vim features. I've seen some people give breathless demos explaining how cool it was that they could do certain things and not felt especially impressed, especially given the learning curve. They seemed to be optimizing for things I don't need to optimize for.
I would use this to edit HTML, CSS, and JS (and later PHP) on my FreeBSD servers which hosted my websites.
Once I learned revision control (hg mercurial) I largely stopped modifying files directly on the remote host so I had less of a need for an sftp client built into my text editor.
Kate is lightweight yet versatile; despite what the screenshots might suggest. This is due to the extremely well-done integration in KDE: for example, the file browser is (was?) really just the file browser konqueror from KDE, Kate has to do hardly anything for that, just "wrap" it. Same for syntax highlighting, terminal, snippets, keybindings, windows chrome, and so on. Kate is really mostly a neat wrapper around a lot of existing KDE parts and libs (and that is an achievement, I don't mean that negatively).
With Vim, I often say "Unix is my IDE", with Kate that could be translated to "the Desktop Environment is your IDE".
They are all good enough for programming work and are nigh indistinguishable from each other unless you go deep.
Maybe unless it's Atom, but I think they had improved their performance over the years.
I'm just faster doing things like cutting/pasting between multiple files, splitting screens, multi-line cursors, with a GUI text editor over vim.
No, I'm not interested in putting even more time into time/effort/space-in-my-memory/etc into learning vim's keyboard combos to effectively do this stuff.
2. Syntax highlighting & formatting is better because of support for multiple fonts & better control of color.
3. Integration with other graphical apps. Kate is used as a component inside of many other KDE tools, so when you edit a file, the behavior is consistent and the key bindings are consistent.
4. Better integration with the desktop environment (in this case KDE). For example, I can open a file on a remote machine from the file open dialog. The file open dialog isis keychain aware, and can connect to any host that the desktop environment can (with KDE, that is almost anything that has file-like objects and remote protocol). You can do some editor be able to open a message from an IMAP server like I'm browsing files on localhost.
Kate is more like a Notepad++ or TextWrangler on Mac. It's a solid editor, but not an Emacs, vim, or VSCode level.
Emacs has nothing to do with shell prompts. It's a GUI editor as well. Emacs philosophy goes against Unix. I e.g. never use the terminal mode. Otherwise, your points seem on-point.
1. Selection and system clipboard integration. 2. Ability to quickly scroll to look something without moving the cursor, then return where I was by pressing an arrow key (one of the largest pain points of emacs for me). 3. Proportional fonts with proper text rendering, especially for notes.
I use 1 and 2 almost on a subconscious level, and it's hard for me to be productive in an editor which doesn't support these features. I'm sure, vim users can relate.
I already beat you to it cuz I used my mouse lol (and I don't have unwanted line numbers and garbo whitespace in the pasted text, to boot).
Selecting a block of text is arguably faster in vim than with the mouse, and then just hit "y" to copy. It think its comparable to Kate+Mouse
"I use KWrite regularly to edit source code and the syntax highlighting is very handy. However, it would be nice if KWrite had an MDI interface. I am currently building one and if anyone is interested they can get in touch."
Used over 10 of those years, despite the bugs! many very useful features - danke!
Visual Studio Code feels like what kate promised to be but never was, mainly due to all the bugs and lack of love for extensions.
Thus, the world is forced to endure webview resource hogs that are designed to phone home extensively just to be able to experience what kate promised but never delivered.
I'll keep checking though as I do like Kate. Thanks!
Which distro?
I haven't used KDE since either openSUSE or Mandrake very long time ago.
I'm asking because if I install 20.04 now, I may want to continue using it until its EOL.
Main issues was finding few packages with a different name than the one used on Debian based distros.
I didn't make many changes on KDE since I'm not a huge fan of customization, it's fast and has a really good look by default, same things I love of few distros shipping with GNOME such as PopOS.
I have not moved to Wayland yet and it is not the default so that will be a big shift at some point. I also avoid nvidia. I used to use their cards but just got tired of the constant hassle.
I don't really try to push anyone towards Fedora or KDE. There are a lot of great choices when it comes to Linux but for me it's always been good. I run MacOS on my MBP for the few applications I can't run on Linux but that list has become really short. At this point I think Webex is the last thing that's holding me there. My next laptop may be a Lenovo.
But I've been using it for longer than that as I do recall using it for half of my university too. I recall I was using MATE before switching.
Ropes?