Live data from Hacker News

How I use Kate editor

akselmo.dev

11–20 of 88 posts

Re: How I use Kate editor

#11
> I remember having two CMake extensions where both had something I needed, but they both also overlap in some basic features, so it got very confusing.

The easy strictly equivalent solution is to just one extension. Or does Kate have a single included plugin that covers everything those two extensions cover?

Re: How I use Kate editor

#12
post #8

I‘m contemplating for a while to find a replacement for VSCode. I switched to it because Atom became too slow and it had great builtin support for most stuff. But I actually was never 100% happy. I usually split my work between bigger projects and smaller file edits. And VSCode was good for the second flow. But over the years and the popularity of LSPs it kinda became dump as well. I mean the fact that if one wants t…

TIL about Kate editor, but after 30 years of just using vi in a terminal (Unix, Mac, even Windows in cmd.exe) I switched to Zed editor (https://zed.dev). I had tried other editors in the past, but quickly fell back to vi/vim after a few hours or days, for various reasons. Been using Zed for a couple of months now and no plans to go back. It also uses LSPs, but whenever I connect to some (Linux) dev host from Zed on my Mac, it autoinstalls clangd to a .local directory and so far I haven’t had to manually install any extra software. Just took a while to figure out the best Zed config for me. It’s very configurable, customizable, but the UI itself is snappy & clean (written in Rust, for those who care about it).

Re: How I use Kate editor

#13
post #10
post #6

If you have an M3/M4 and are stuck on XNU like me, and you want a something between the notes app and a whole Electron IDE, it turns out that Kate also supporte macOS (Actually, a lot of KDE programs do, I was elated to find out I could use Dolphin as file manager when I was limited by Finder) I think Kate strikes this really nice middleground. It starts up immediately as just a text editor, but you can push it as fa…

How did you get dolphin to run on a Mac? If you could point me to a resource that would help me out, I'd appreciate it.

This is the documentation for building a KDE app from source: https://develop.kde.org/docs/getting-started/building/kde-bu...

I had to install several dependencies through homebrew, ignore some default dependencies that don't make sense on mac (wayland, pipewire, etc), and then it worked.

The build command I used, for reference: kde-builder dolphin --ignore-projects wayland plasma-wayland-protocols wayland-protocols kglobalaccel kpipewire kwayland selenium-webdriver-at-spi baloo packagekit-qt baloo-widgets

Note also there's some mac weirdness with the Dock where some kioworker process might show up as a separate icon. I packaged it in dolphin.app MacOS bundle, gave kioworker a Info.plist with LSUIElement=true, and that got rid of the Dock glitch.

So, I wouldn't say it's entirely painless to install. But if you're sufficiently annoyed by Finder, building Dolphin can be worth the effort.

Re: How I use Kate editor

#14
Wow, that's an app name I haven't heard in quite some time! Glad to hear it is still alive and kicking.

I see it has a proper multicursor support, so that's nice. There are a few plugins in vscod(e/ium) I regularly use and would miss a lot - like converting between camel/kebab/snake/sentence case, generating sequence numbers/digits, and especially calculations. I'd be surprised if these minor things are supported... Still, long time ago it was already a very capable IDE, so I'm curious where it is now. I'll give it a spin...

Re: How I use Kate editor

#15
Kate's a pretty good editor. I've made an attempt to replace vscode/vscodium with it once before.

The article is right about vscode turning into proprietary mush. I use vscodium and have run into issues with plugins that require cpptools, while cpptools complains whenever you, or an extension you're using, accesses it in an editor other than vscode.

Re: How I use Kate editor

#16

I don’t think it will dethrone Neovim for me, but this makes me wonder whether Kate could become my second editor and allow me to largely drop VS Code, especially with the DAP support. The session support also looks interesting.

Have you tried zed ? I have been really impressed by it.

Re: How I use Kate editor

#17

I don’t think it will dethrone Neovim for me, but this makes me wonder whether Kate could become my second editor and allow me to largely drop VS Code, especially with the DAP support. The session support also looks interesting.

I have been using neovim extensively for past several years. I also use vscode occasionally. Last year I tried Zed and was very impressed with its speed, responsiveness and featureset. Now it is available for Linux has well, but I have not tried linux version yet.

Re: How I use Kate editor

#18
post #8

I‘m contemplating for a while to find a replacement for VSCode. I switched to it because Atom became too slow and it had great builtin support for most stuff. But I actually was never 100% happy. I usually split my work between bigger projects and smaller file edits. And VSCode was good for the second flow. But over the years and the popularity of LSPs it kinda became dump as well. I mean the fact that if one wants t…

TIL about Kate editor, but after 30 years of just using vi in a terminal (Unix, Mac, even Windows in cmd.exe) I switched to Zed editor ( https://zed.dev ). I had tried other editors in the past, but quickly fell back to vi/vim after a few hours or days, for various reasons. Been using Zed for a couple of months now and no plans to go back. It also uses LSPs, but whenever I connect to some (Linux) dev host from Zed on…

I also really like Zed. But what prevents me from switching to Zed, is my workflow. I tend not to run desktop GUI applications on my main development machine (headless and sometimes remote). nvim is excellent in such circumstances. Also nvim is available on all platforms. I know Zed is also recently available on Linux, but I really doubt it will be as good as Zed on Mac.

Re: How I use Kate editor

#19
post #7

I don’t think it will dethrone Neovim for me, but this makes me wonder whether Kate could become my second editor and allow me to largely drop VS Code, especially with the DAP support. The session support also looks interesting.

Well, I use KDE for a while now, but one thing I've always tried to avoid was Kate ;-) My primary editor is vim (cli), and my secondary editor is kwrite. Nowadays, I think kwrite is part of the Kate package, just simpler, as I don't like the whole session feature when you just want to edit a single file.

Kwrite is basically kate without any plugins. Both applications are hosted in the same repo and developed at the same time.

Re: How I use Kate editor

#20
post #16

I don’t think it will dethrone Neovim for me, but this makes me wonder whether Kate could become my second editor and allow me to largely drop VS Code, especially with the DAP support. The session support also looks interesting.

Have you tried zed ? I have been really impressed by it.

I have tried zed, and promptly uninstalled once I saw it was automatically downloading and running nodejs. I want an editor that is lightweight, not one that starts running extra crap I neither need nor want in the background. That was on top of the big focus on LLM integration (itself already a significant negative for me), but which I was willing to overlook to try out the rest.

I don't think Zed is very good in its current state. Too much extra cruft out of the box which you need to disable.

Post reply on HN