@cedric
In RKWard we have a data viewer but not a data explorer.
Due to the integration of the Kate text editor, we also have functionality to operate the editor like vi.
@cedric
In RKWard we have a data viewer but not a data explorer.
Due to the integration of the Kate text editor, we also have functionality to operate the editor like vi.
As a #programmer but #beginner I already know that documentation is important: that's why I'll make a website to document my adventures and potential progress.
If you have any resources that you think could help me, do not hesitate a second!
If you have any tools to advise, do not hesitate a second!
I'm considering using :fedora: #fedora #Kinoite with #toolbx or something like #RockyLinux (but if you have other distros to advise, tell me) with :kdevelop: #kdevelop #codelite for C++, #spyder or #pycharm for Python π and #rustrover or #lapce for Rust π¦ and :kate: #kateeditor for simple file edition.
#programmers #programming #programmation #coding #coders #coders #python #cpp #Rust #rustlang #linux #foss #fosstodon #floss #flosstodon #Dev #devlog #devlife #devloper #devlopers
π¨ Stop the presses! π¨ Breaking news: Someone uses a text editor! π Gather 'round, folks, for the thrilling tale of a #programmer who discovered Kate Editor just two decades after everyone else. π Stay tuned as we explore every riveting detail of their plugin preferences and the groundbreaking default settings. ππ»
https://akselmo.dev/posts/how-i-use-kate-editor/ #BreakingNews #TextEditor #KateEditor #PluginPreferences #DefaultSettings #HackerNews #ngated
@ToniBarth #KDE's text editing framework had #TTS support for a long time and it was recently improved to be more accessible via the context menu:
https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/797
A very powerful and versatile editor based on this framework is #Kate:
https://kate-editor.org/
#KateEditor needs oh-so-many commands it doesn't have, but one I would use often is "return to previous position". If I mistakenly hit Ctrl+Shift+End when I only meant to hit Shift+End, I end up at the end of the file when I only wanted to select to the end of the line.
In TSE, I could hit a key to execute PrevPosition() to be back where I was. But Kate doesn't have this feature, and I have to scroll up until I find my place. Annoying.
Kate might have good code-editing features, but as far as text editing goes, it lacks many basic #TextEditor commands I used in The Semware Editor under Windows.
(UPDATE: I found a way to make the search work; see end.)
Someone made a bad UI design choice...
Just now I do a search/replace in kate (across multiple files) where the replacement string happens to include \t (it's part of a PHP namespace).
Kate replaces those two characters with a TAB, in all the matching files.
Searching for \t does not find the affected text.
Copying the tab from the document and searching for that does not find it either.
I can't even search for [space]t because it used a TAB character, not spaces, in the output -- even though I have editing configured to always use spaces.
ARRGGGH. There are probably about a HUNDRED FILES affected. Maybe more.
Update: apparently I needed to paste the tab into a longer string or something, and then it will find matches.
This is still bad UX, though: the "search" text and the "replace" text shouldn't follow different rules.
So many #KDE applications work great on Windows, itβs ridiculous. #Krita? #KateEditor? #Kdenlive? Awesome! #KDEConnect? Chefβs kiss!
Kind of sad that there are no versions of #KTorrent or #Gwenview.
So, yeah, whatβs my operating system? #Firefox.
No, but really? KDE and #Nushell.
Stop it, be serious, whatβs underneath?! Who cares.
Marksman is a program that allows various text editors to improve the #Markdown experience: "it provides completion, goto definition, find references, rename refactoring, diagnostics, and more".
https://github.com/artempyanykh/marksman
I I installed Marksman under :nixos: (it's in nixpkgs). Kate detected it right away without needing to disconnect & reconnect the user session.
Now I can, say, open my Logseq folder in Kate, and navigate or preview files using [[Wiki-links]]. Pretty cool.
Aaaaaaa, Kate is so awesome. It's super fast, it has cool plugins/integrations (Git/SQL/Color Picker are just a few I use), plenty of customization options and it's so simple to use. Been using it ever since I started using Linux daily for years since it came with KDE and it's my daily driver for writing a mod for Godot game for the past 3 months.
LSP server integration works very well, I started using macros for some boring templates, I discovered I can use mouse side buttons to go to previous location instead of switching tabs just today, tabs are just fine and I feel that there is still plenty of juice I could get out of Kate if I spent the time to learn how to wield it to be even more efficient.
Granted, there are some issues like straight up dying/becoming unresponsive when dealing with very large files or unformatted JSON files, but I can understand those shortcomings.
Kudos to the contributors, it's a fine piece of software that serves those using it. :blobfoxheart:
NixOS :nixos:, Kate :kate:, Signal :signalapp:, Mastodon :mastodon:, Firefox :firefox:, Thunderbird :thunderbird:.
What a nice gang it is!
#nixos #signalapp #mastodon #firefox #thunderbird #kateeditor
@eugenialoli @jbqueru What do you mean by ruler? If that means a vertical line at some column then Kate does have this. You can enable it via menu View β Word Wrap β Show Static Word Wrapper. The column can be set in Settings β Configure Kate β Editing β Wrap Words At.
I was going to suggest to my husband @jbqueru to move to KDE's Kate code editor (currently he is using SublimeText, and previous VSCode), but there is no ruler feature on Kate. He kind of needs that for his arcane assemblers.
EDIT: sorted out, JBQ is switched to Kate.
#kde #kateeditor #kate #linux #opensource #foss #programming
Revisiting #typograf for #KateEditor. Itβs actually a lot easier than I made it before. So, install typograf-cli
npm install typograf-cli -g
In Kate, add External Tool.
Name: Typograf (or anything)
Executable: typograf (with `-g` installation flag, it should be in your $PATH)
Arguments: --stdin -c /home/andrew/.config/typograf/typograf.json
Input: %{Document:Selection:Text}
Working directory: empty
Mime types: empty
Save: none
Trigger: none
Output: Replace selected text
Editor command: typograf
`-c` is for a settings file if you want to change the default behavior. It really wants a full path for some reason, so no `~/`.
You can customize these to process the entire document, for example. But I just add a keyboard shortcut, and it does the magic on a selected text.
---
Bonus, in #micro you can add
"Alt-y": "command:textfilter typograf --stdin -c /home/andrew/.config/typograf/typograf.json",
to `.config/micro/bindings.json` for the same result.
---
Kate has the best Vim mode of all editors, Ctrl+Alt+V toggles it at any time, so when I need to use Vim motions I just enable it and when I need to edit I just disable it to get for humans copy-paste.
The most important feature on #KDE #kateeditor for me is the fact that I can have independent font-size/zoom and color-scheme for each tab or split, even if the view is on the same file.
It is like every buffer has its completely separate config context, and I love it.
Please @cullmann , if you ever change it, make it configurable, never remove this feature :)
It made me realize that I was quite hooked on Kate. I switched in 2023, coming from Visual Studio Code. The latter is hard to escape in a professional context (so many plugins and integrations) but Kate works really well once you take time to learn it.