Readit News logoReadit News
anonymid commented on Claude Code IDE integration for Emacs   github.com/manzaltu/claud... · Posted by u/kgwgk
brotherjerky · 22 days ago
Anyone have good results with something similar for Neovim?
anonymid · 21 days ago
magenta nvim
anonymid commented on Claude Code IDE integration for Emacs   github.com/manzaltu/claud... · Posted by u/kgwgk
cristea · 22 days ago
Pretty cool! I love that these battle proven editors (emacs and (n)vim) seem to follow along with new technology, even though one might think overwise given their age.

I hope this comes to vim as well!

anonymid · 21 days ago
magenta nvim implements a really nice integration of coding agents.
anonymid commented on Next edit prediction in Neovim (magenta.nvim)   github.com/dlants/magenta... · Posted by u/anonymid
anonymid · a month ago
I added next-edit-prediction to my neovim plugin.

This was pretty interesting to implement!

- I used an [lsp server](https://github.com/dlants/magenta.nvim/pull/162/files#diff-3...) to track opened files and aggregate text changes to get a stream of diffs.

- I then feed that along with the [context surrounding the cursor](https://github.com/dlants/magenta.nvim/pull/162/files#diff-1...), and a [system prompt](https://github.com/dlants/magenta.nvim/pull/162/files#diff-a...) into an LLM, [forcing a tool use for a find/replace within the context window](https://github.com/dlants/magenta.nvim/pull/162/files#diff-1...)

- Finally, I show the find/replace in the buffer using [virtual text extmarks](https://github.com/dlants/magenta.nvim/pull/162/files#diff-1...), applying a comment effect to the added sections, and a strikethrough to the removed sections

One thing that is interesting about this is that I wasn't able to get good results from smaller/faster models like claude haiku, so I opted to use a larger model instead. I found that the small delay of about a second was worth it for more consistent results.

I also opted to have this be manually triggered (Shift-Ctrl-l by default in insert or normal mode). This is a lot [less distracting](https://unstable.systems/@sop/114898566686215926).

One cool thing is that you can use a plugin parameter, or a project-level parameter to [append to the system prompt](https://github.com/dlants/magenta.nvim/blob/main/node/option...). I think by providing additional [examples of how you want it to behave](https://github.com/dlants/magenta.nvim/blob/main/node/provid...), you can have it be a lot more useful for your specific use-case.

anonymid · a month ago
You can see a gif of it in the readme https://github.com/dlants/magenta.nvim?tab=readme-ov-file
anonymid commented on Next edit prediction in Neovim (magenta.nvim)   github.com/dlants/magenta... · Posted by u/anonymid
anonymid · a month ago
I added next-edit-prediction to my neovim plugin.

This was pretty interesting to implement!

- I used an [lsp server](https://github.com/dlants/magenta.nvim/pull/162/files#diff-3...) to track opened files and aggregate text changes to get a stream of diffs.

- I then feed that along with the [context surrounding the cursor](https://github.com/dlants/magenta.nvim/pull/162/files#diff-1...), and a [system prompt](https://github.com/dlants/magenta.nvim/pull/162/files#diff-a...) into an LLM, [forcing a tool use for a find/replace within the context window](https://github.com/dlants/magenta.nvim/pull/162/files#diff-1...)

- Finally, I show the find/replace in the buffer using [virtual text extmarks](https://github.com/dlants/magenta.nvim/pull/162/files#diff-1...), applying a comment effect to the added sections, and a strikethrough to the removed sections

One thing that is interesting about this is that I wasn't able to get good results from smaller/faster models like claude haiku, so I opted to use a larger model instead. I found that the small delay of about a second was worth it for more consistent results.

I also opted to have this be manually triggered (Shift-Ctrl-l by default in insert or normal mode). This is a lot [less distracting](https://unstable.systems/@sop/114898566686215926).

One cool thing is that you can use a plugin parameter, or a project-level parameter to [append to the system prompt](https://github.com/dlants/magenta.nvim/blob/main/node/option...). I think by providing additional [examples of how you want it to behave](https://github.com/dlants/magenta.nvim/blob/main/node/provid...), you can have it be a lot more useful for your specific use-case.

anonymid commented on OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google   theverge.com/openai/70599... · Posted by u/rcchen
extr · 2 months ago
IMO other than the Microsoft IP issue, I think the biggest thing that has shifted since this acquisition was first in the works is Claude Code has absolutely exploded. Forking an IDE and all the expense that comes with that feels like a waste of effort, considering the number of free/open source CLI agentic tools that are out there.

Let's review the current state of things:

- Terminal CLI agents are several orders of magnitude less $$$ to develop than forking an entire IDE.

- CC is dead simple to onboard (use whatever IDE you're using now, with a simple extension for some UX improvements).

- Anthropic is free to aggressively undercut their own API margins (and middlemen like Cursor) in exchange for more predictable subscription revenue + training data access.

What does Cursor/Windsurf offer over VS Code + CC?

- Tab completion model (Cursor's remaining moat)

- Some UI niceties like "add selection to chat", and etc.

Personally I think this is a harbinger of where things are going. Cursor was fastest to $900M ARR and IMO will be fastest back down again.

anonymid · 2 months ago
I never got the valuation. I (and many others) have built open source agent plugins that are pretty much just as good, in our free time (check out magenta nvim btw, I think it turned out neat!)
anonymid commented on Developing a Neovim AI plugin (magenta.nvim) using the Neovim AI plugin   youtube.com/watch?v=W_Yct... · Posted by u/anonymid
anonymid · 2 months ago
I recently finished some updates to my neovim ai plugin: - context tracking - multiple threads - compaction - sub-agents

I decided to record a video of myself using the plugin to implement another feature. Aside from a demo of the plugin itself, I think it's a good view into what a typical workflow of using AI for development might look like, and I think is a good illustration of what these agents can and cannot currently do.

Find out more here: https://github.com/dlants/magenta.nvim

anonymid commented on Marines being mobilized in response to LA protests   cnn.com/2025/06/09/politi... · Posted by u/sapphicsnail
ralfd · 3 months ago
Even with you trying to be factual, how you present this still shows your bias. Plus you rationalize the opposite arguments away (“overestimate”) and boost the ones you agree with.

From the first Claude link:

> Damage remains far below 2020 George Floyd protest levels

Ugh. Is this the bar now?

Aside from quantifications, I see the disagreement largely on the qualitative/philosophical/ideological (tribal) side. An inverse of the Jan 6th insurrection (which also caused much less damage than the George Floyd riots, and much less than now in LA, so was it ok in retrospect?). But the damage was not in property, but that the state and its laws itself was attacked. The sides are just now switched again between left/right: the former shout rule of law, the latter want resistance/insurrection.

anonymid · 2 months ago
I do have a bias, and I don't think that negates the points. I think that's the benefit of establishing a common factual basis. You can argue with the bias by presenting competing facts, or a different interpretation of the facts, but at least we can agree on what we're starting with.

I think the question is - why is the national guard and the military being sent to CA without the governor's consent?

Part of the justification for this from the administration is that the riots are out of control, are posing an immediate risk of violence and property damage. Based on what I've found of the actual violence and damage being done, this justification does not hold up, as the violence and property damage are lower than previous protests in which there didn't seem to be a need for interference.

The rule of law is a different argument. What is the rule of law that is being undermined? I think here too you can have an argument about the operations that ICE is conducting, are they lawful - given that they are being conducted in sanctuary cities? Who has jurisdiction in this case? Is the administration lawful in sending in the national guard without the consent of the governor? What about the military? Newsom is now suing Trump over deploying the marines and the national guard despite his wishes, so there is a claim that such actions were unlawful.

Based on my brief research into this, ICE was operating in an unconstitutional way and making many procedural violations. City Sancutary status is lawful and has been upheld in the court of law. Newsom's challenge of Trump's deployment of the National Guard also held up in court. [link](https://claude.ai/public/artifacts/99a64b2d-e3b6-4d37-956f-c...)

When you say that "the law is being attacked" in this case, what do you mean?

u/anonymid

KarmaCake day80February 1, 2016
About
dlants.me is my blog.
View Original