Live data from Hacker News

How I use Kate editor

akselmo.dev

41–50 of 88 posts

Re: How I use Kate editor

#41

The page doesn't say it, how well it handles very large files? Also, how does it handle editing files with various encodings? Asking this while having Notepad++ in mind.

I use Kate all the time and IME it doesn't. In fact it struggles even with relatively small files. In fact try this: seq -f"foo %100.100f" 1 1000 > /tmp/test1000 && kate /tmp/test1000 ...and watch Kate struggle with a ~100KB file. It seems to be related to the text layout or something along these lines (i.e. it isn't because of whatever data structure it uses for text, modern PCs should be able to handle the naivest…

Just as another data point: I've used Kate for ~90MB JSON files and had no issues at all

Re: How I use Kate editor

#42
post #37

Earlier quoted context omitted.

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 it…

Are you sure that was Zed? I see that it's 98.3% coded in Rust. But if you're right and it still depends on node.js, I'll have to scratch that off my list.

It was definitely Zed. I forget what it was that used node.js, and I was able to disable that with some effort. But it annoyed me because I shouldn't have to, you know? In my opinion the default out of the box install should be sleek and not use many resources, and only add more stuff if I ask for it.

Re: How I use Kate editor

#43
post #37

Earlier quoted context omitted.

Are you sure that was Zed? I see that it's 98.3% coded in Rust. But if you're right and it still depends on node.js, I'll have to scratch that off my list.

It was definitely Zed. I forget what it was that used node.js, and I was able to disable that with some effort. But it annoyed me because I shouldn't have to, you know? In my opinion the default out of the box install should be sleek and not use many resources, and only add more stuff if I ask for it.

Zed maintainer here.

We use node.js to run a number of language servers and formatters (which are often written in node due to the VSCode ancestry...).

There've been a lot of requests to disable language servers by default; but I think that's not the right default for most users – things should work out of the box.

That said, better control over this is definitely something we will add.

Re: How I use Kate editor

#44
post #37

Earlier quoted context omitted.

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 it…

Are you sure that was Zed? I see that it's 98.3% coded in Rust. But if you're right and it still depends on node.js, I'll have to scratch that off my list.

It's probably for some extensions. So things like LSP and formatters

Re: How I use Kate editor

#45

One feature that is impossible to live without for me is Undo Tree. Unfortunately, the only editors that support it are Vim/Neovim and Emacs. I would love to switch to one of these modern editors, but not a single one of them supports this feature.

EDIT: Actually, there is one more: https://fred-dev.tech/ But it's still deep in development, I'm keep an eye on how it turns out.

Re: How I use Kate editor

#46
post #37

Earlier quoted context omitted.

Are you sure that was Zed? I see that it's 98.3% coded in Rust. But if you're right and it still depends on node.js, I'll have to scratch that off my list.

It was definitely Zed. I forget what it was that used node.js, and I was able to disable that with some effort. But it annoyed me because I shouldn't have to, you know? In my opinion the default out of the box install should be sleek and not use many resources, and only add more stuff if I ask for it.

You're right, I just checked the Arch package and it has a non-optional dependency on the nodejs package[1], which means you're forced to install it even if you don't use it. That sucks. :(

[1] https://archlinux.org/packages/extra/x86_64/zed/

Re: How I use Kate editor

#47

Earlier quoted context omitted.

Github copilot has an official [1] neovim extension. There are also third-party plugins for Copilot, Chat, Next edit etc. [1] https://github.com/github/copilot.vim

It works with vanilla vim (and MacVim) these days too. "Vim 9.0.0185 or newer" is mentioned in the Getting Started section. I was about to install it a couple of years ago, but then started thinking about the privacy threat model. I realized that having a "copilot" in my everyday editor (not just for public open source coding!) is never gonna fly. I may end up accidentally uploading any file I open to a 3rd party for…

How hard would it be to have an editor just ignore files that aren't in source control (at least staged)?

Re: How I use Kate editor

#48

One feature that is impossible to live without for me is Undo Tree. Unfortunately, the only editors that support it are Vim/Neovim and Emacs. I would love to switch to one of these modern editors, but not a single one of them supports this feature.

I'm writing an editor. Could you explain to me the use case? I looked it up and I don't exactly understand the reason besides it might be fun to look at

I really did not like that other editors would lose text if you pressed undo and type. The way my undo's work is if you type "a b c" and hit undo twice (so it's just "a") then type "d", then undo twice, it'll restore to "a b c"

Re: How I use Kate editor

#49
post #47

Earlier quoted context omitted.

It works with vanilla vim (and MacVim) these days too. "Vim 9.0.0185 or newer" is mentioned in the Getting Started section. I was about to install it a couple of years ago, but then started thinking about the privacy threat model. I realized that having a "copilot" in my everyday editor (not just for public open source coding!) is never gonna fly. I may end up accidentally uploading any file I open to a 3rd party for…

How hard would it be to have an editor just ignore files that aren't in source control (at least staged)?

[deleted]

Re: How I use Kate editor

#50
I used Kate as my main editor several years back, before switching to Sam halfway through college, then to VS Code when I wanted debugging stuff. I'll have to give it another try, I always liked it. Its multi-cursor support still strikes me as being better than VS Code's.
Post reply on HN