Live data from Hacker News

How I use Kate editor

akselmo.dev

81–88 of 88 posts

Re: How I use Kate editor

#81

Earlier quoted context omitted.

That's one reason why I implemented it so it wouldn't lose information. Hmm. I plan to implement a diff. The way I have it, you could copy the current source, hit undo to a version you want to compare again than use the clipboard as the version to diff with (vscode calls this "Compare Active File with Clipboard".) If you mess up you can still hit undo to go through all the previous edits you made since it's not lossy…

A tree is essentially a nice GUI on top of what you already have. It's allows me to visually click (or navigate) to a specific point of history, instead of remembering to hit Undo 15 times.

Just a thought, do you want it as a tree? It seems like it'd make more sense if there was a bar or key you can press to go back and forward to the changes you want. I didn't really understand why having it as a tree was helpful.

I'm not going to say I wont implement it, I'm just saying I'm not understanding why you want it that specific way. Is the change you want always many minutes apart and why you want it as a tree? To find the one that happened many minutes before another? I know some people like how vscode has a timeline that says how many minutes/hours ago a change was, so they can pick it out

Re: How I use Kate editor

#82

Earlier quoted context omitted.

A tree is essentially a nice GUI on top of what you already have. It's allows me to visually click (or navigate) to a specific point of history, instead of remembering to hit Undo 15 times.

Just a thought, do you want it as a tree? It seems like it'd make more sense if there was a bar or key you can press to go back and forward to the changes you want. I didn't really understand why having it as a tree was helpful. I'm not going to say I wont implement it, I'm just saying I'm not understanding why you want it that specific way. Is the change you want always many minutes apart and why you want it as a tr…

I type "A B C D". Then I undo thrice to get "A". Then I type to get "A E". And now I realise that what I actually want is "A E B D". My edits have created a branch is history. And I need to switch to the old branch and copy stuff twice (first "B" then "D"). That is why a tree is important.

Re: How I use Kate editor

#83

Earlier quoted context omitted.

> You can't navigate to a hidden folder by typing its name (let's not get too creative!). You can, actually. ⌘-SHIFT-G in Finder lets you navigate to any folder by typing in the path - even hidden paths. No mortal user would ever be expected to know or discover that, but it's there.

Finder is annoying for power users. Command shift g is a lifesaver. I think my favorite file navigator was konqueror. Another Mac annoyance is that the launch tool (command period) seems to forget apps. Or worse, shows the app as you type the name and hides it if you continue typing the next letter in the name. Not sure what focus group approved this...

s/command period/command space

That's Spotlight, and it's become decreasingly useful over the years, including for the flaws you mention. People seem to be relying on 3rd party replacements.

‹digression› Even those aren't helping me much at the moment because in my current macOS, system-global shortcuts — whether builtin, provide by an application, or configured by me — stop working after random uptime until I reboot.

Finder's a ruddy liar, though, happy to tell me 2+ GiB free, then apps unable to save a 16 KiB file because not enough disc space. Allegedly, macOS counts tosh like video screensavers and HEIC desktop images that aren't in-use and came from Apple as "free space", and should auto delete them if space is needed, but I've yet to see it do so. Instead, I'm left manually telling Steam to delete hundreds of MiB just to store that 16 KiB file… . o O ( Yes, I'll be getting an external SSD. ) ‹/digression›

Re: How I use Kate editor

#84

Surprised to see so much love for Kate here. I've always felt it has too much UI clutter for to make for a good Notepad.exe alternative, but too few features to be a good VSCode alternative. It seems most default KDE apps suffer from issues like this, to the point where I ended up using for VSCode for everything on my Linux machine (before eventually switching to MacOS and just using the Notes app for everything that…

Fortunately, the UI is quite configurable. You can disable the left sidebar, the top toolbar, edit them, and so on. Document map is also optional. But yes, my initial impression was of more UI than expected.

Re: How I use Kate editor

#85

Earlier quoted context omitted.

Just a thought, do you want it as a tree? It seems like it'd make more sense if there was a bar or key you can press to go back and forward to the changes you want. I didn't really understand why having it as a tree was helpful. I'm not going to say I wont implement it, I'm just saying I'm not understanding why you want it that specific way. Is the change you want always many minutes apart and why you want it as a tr…

I type "A B C D". Then I undo thrice to get "A". Then I type to get "A E". And now I realise that what I actually want is "A E B D". My edits have created a branch is history. And I need to switch to the old branch and copy stuff twice (first "B" then "D"). That is why a tree is important.

I didn't heavily use undo trees so I don't remember how neovim/emacs displays it. I think I get it enough that if I try it out I'll be able to understand what you mean

Re: How I use Kate editor

#86
post #13
post #10

Earlier quoted context omitted.

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…

FWIW, in the future, the recommended way to build KDE applications (including Dolphin) on macOS is by using Craft[1]

Much easier and quicker than going the kde-builder route, and it should package applications properly :)

[1] https://community.kde.org/Get_Involved/development/Mac

Re: How I use Kate editor

#87
post #35
post #27

Earlier quoted context omitted.

In fairness, I wouldn't say it's dolphin I'm attached to in particular, I think I'm just not in the target audience for Finder. The tradeoff is that it makes simple things simple, and everything else complicated. I'm uploading a config file on a website. It's in ~/.config, and any reasonable file explorer won't show hidden files by default. In Finder there's also no button or setting to show hidden files. They really…

Just curious: how does drag & drop works with Dolphin in Mac? I quit KDE because I got mad with the files drop menu. Do you also get it when installing Dolphin?

That issue is fixed in the next version of kde btw https://blogs.kde.org/2025/05/03/this-week-in-plasma-move-by...

Re: How I use Kate editor

#88
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…

Do all the features of dolphin work? e.g. opening a terminal?
Post reply on HN