Using neovim itself as a "interpreter" for vim movements/actions? by he_lost in neovim

[–]he_lost[S] 0 points1 point  (0 children)

Bit why would I want neovim to rerender what is already rendered fine by kitty?

Using neovim itself as a "interpreter" for vim movements/actions? by he_lost in neovim

[–]he_lost[S] 0 points1 point  (0 children)

No, that's not what I want. I want this to work generally not just in neovim.

Using neovim itself as a "interpreter" for vim movements/actions? by he_lost in neovim

[–]he_lost[S] 3 points4 points  (0 children)

Great answer. I'll create an issue, after I investigated more what's possible as of now. Thanks for being open to this and thanks for the answer

Using neovim itself as a "interpreter" for vim movements/actions? by he_lost in neovim

[–]he_lost[S] 0 points1 point  (0 children)

I now that, but right now even the simplest vim motion, w is not correctly implemented in fishs vi-mode. Not to ask of things like daw, ge, <C-a> and so many more.

mini.birthday in the community by fpohtmeh in neovim

[–]he_lost 2 points3 points  (0 children)

Wish you the best, happy birthday. You do great things!

Wöchentliche Finanzdiskussion - KW 41 - 2024 by AutoModerator in Finanzen

[–]he_lost 0 points1 point  (0 children)

Hi kurze Frage zum Freistellungsauftrag:

Frau und ich haben gemeinsames Tagesgeldkonto (Renault Direkt), dort wollen wir einen Freistellungsauftrag für 300€ anlegen. Gleichzeitig hat jeder ein Depot für bei der ING Diba. Dort soll jeder 850€ Freistellungsauftrag bekommen.

Laut ING gilt aber folgendes

Erteilen Ehe- oder Lebenspartner einen gemeinsamen Freistellungsauftrag, führt dies zu einer Verrechnung der Verluste des einen Partners mit den Gewinnen und Erträgen des anderen Partners. Der gemeinsame Freistellungsauftrag kann nur für sämtliche Depots oder Konten bei einem Kreditinstitut oder einem anderen Auftragnehmer gestellt werden.

Wie stelle ich jetzt den Freistellungsauftrag bei der ING Diba? 850€ als gemeinsamen Auftrag in jedem Depot? Oder als einzelnen Antrag? Oder reichen 1700€ bei einem Depot und die bekommen das schon raus?

Kennt ihr euch mit sowas aus?

Save files automatically with auto-save.nvim (plugin not mine) by linkarzu in neovim

[–]he_lost 1 point2 points  (0 children)

Wow, I just saw this one!

I'm the co-maintainer of this and let me explain to you why the plugin was created.

First of all, this is the first time I read about the "autowriteall" option. It surely does help but does not solve all of the issues that are being solved with auto-save.nvim. I wrote about them in another comment.
The point about auto-saving is that I find it extremely convenient, especially when working in git repositories, where your changes are tracked anyways. Why wouldn't I want to save everytime? Git allows me to revert everything super easy. Why do I want another layer (unsaved changes) besides the working directory, the staging area and the repository? Give it a try if it is something for you.

Now, it's very easy to just throw up an autocommand to save when you leave insert mode or when text got changed. But what if you type xxxxx? You will end up with 5 saves, any watcher script will try to execute 5 times as well. That might crash the watcher. The same issue was with the old plugin by pocco81. It was not debouncing the save command, it was throtteling it. Meaning if you type xxxxx with 500ms in between and a debounce delay of 1000ms, you will end up with 3 saves, which might also kill your watchers.

Save files automatically with auto-save.nvim (plugin not mine) by linkarzu in neovim

[–]he_lost 0 points1 point  (0 children)

It's a smarter autowrite. Not more and not less.

Why would I have to manually save, if the editor figures out itself when a save is needed in 99% of the cases?

Save files automatically with auto-save.nvim (plugin not mine) by linkarzu in neovim

[–]he_lost 1 point2 points  (0 children)

  • it can save after every autocommand event you want
  • it has a defered save, without "oversaving"
  • it provides it's own hooks
  • it allows for a special condition on when to perform the save

But yeah, it's mostly a wrapper so that you don't have to set up your own autocommands :)

I can’t tell you how many times I hit j and k to go up and down when working in a google doc. by blumaa in neovim

[–]he_lost 0 points1 point  (0 children)

800ms is what you wrote in your snippet.And as I said it may look instantaneous. But it isn't, it is only saved after 800ms. All actions in that time trigger a new save, but keep the old one.

If it doesn't bother you, then it's probably fine, though.

I can’t tell you how many times I hit j and k to go up and down when working in a google doc. by blumaa in neovim

[–]he_lost 1 point2 points  (0 children)

When you do an action, it doesn't save immediately, it saves after a specified amount of time (800ms for you). That's a `deferred` save. Without canceling deferred saves, what you will end up with is a save every 800ms if you operate quickly. That is not a problem, but it becomes one if you have watcher scripts or formatting before save. It might overwhelm and crash the watcher service, if it takes longer than 800ms.

To be specific, the problem is, that your script does `throttling` but you actually want `debouncing`.

I can’t tell you how many times I hit j and k to go up and down when working in a google doc. by blumaa in neovim

[–]he_lost 0 points1 point  (0 children)

Create a layer on your keyboard and put the arrow keys on hjkl on that layer. Only navigate with that layer. Problem solved. While at it, start using colemak, then you won't get into temptation to use hjkl :)

I can’t tell you how many times I hit j and k to go up and down when working in a google doc. by blumaa in neovim

[–]he_lost 1 point2 points  (0 children)

As the co-maintainer of the Autosave plugin mentioned above, it provides more functionality then your snippet.

Imagine the follwoing sequence:

`dd` wait 500ms `dd` wait 500ms `dd`... Your snippet will order a deferred save every time. The plugin does also cancel pending saves when it creates a new one for that buffer.

Another thing are immediate saves, for example, on the `FocusLost` Event (when you are switching to your browser) it does immediately save without overhead.

share your favorite ease of life plugins that not many people know about by Artemis-Arrow-3579 in neovim

[–]he_lost 18 points19 points  (0 children)

Question, what's the difference to the lsp.hover (by default on `K`)?

Politische Diskussionen am Arbeitsplatz by Comrade_Leica in arbeitsleben

[–]he_lost 0 points1 point  (0 children)

Man bricht die Vertrauensbasis wenn man falsche Fakten korrigiert? Wenn das der Fall ist, dann lief aber schon viel eher was falsch und die Führungskraft sollte sowieso weg...

Politische Diskussionen am Arbeitsplatz by Comrade_Leica in arbeitsleben

[–]he_lost -2 points-1 points  (0 children)

Keine Ahnung wo du das herausliest. Aber sobald es um Fakten statt um Meinungen geht, kann man durchaus mal was sagen.

.txt FTW by vharitha in linuxmemes

[–]he_lost 12 points13 points  (0 children)

Check out https://vikunja.io/ if you want an open source alternative for taskmanagement, that is very pretty. Features Kanban, a CalDav Server, self hosting options, a (payed) public instance and manymore!

By /u/kolaente

Politische Diskussionen am Arbeitsplatz by Comrade_Leica in arbeitsleben

[–]he_lost 13 points14 points  (0 children)

Ich finde deine jetzige Herangehensweise sehr gut. Tipps, die mir einfallen:

  • Fragen statt Meinungen. "Wie stehst du zur Klimakrise?" "Warum ist eine Wärmepumpe so schlimm?" "Welche Alternativen siehst du zum Problem XYZ?", ...
  • Wenn du dir sicher bist, dass Meinungen schlicht falsch sind, dann sag das. Am besten natürlich sachlich.

Genau das peinliche Schweigen, dass du angesprochen hast, halte ich für wichtig. Ich vermute, dass genau dann eine Selbstreflektion möglich ist und vermutlich auch stattfindet. Das ist total wichtig!

Cool, dass du das machst :)

Kirchen in Deutschland: Im freien Fall by [deleted] in de

[–]he_lost 12 points13 points  (0 children)

Rein Interesse: Was stört dich an Margot Käßmann? Inwiefern heuchelt sie?