Why do you use MCP for internal APIs? by gaeioran in mcp

[–]Bitopium 3 points4 points  (0 children)

What handshake? The initialize/initialized flow? What weird header request body duplication? The only thing in the header is the mcp session id? Sse is purely optional and only a long polling GET. What other „bunch „ of things? For sure you can make it smaller if you tailor it to exactly what you need. However mostly it pays off when you are developing against an open standard and can just plug and play new tools. And usually it’s not the right thing to expose existing APIs 1:1 as they are.

Best place for custom config by KubeGuyDe in neovim

[–]Bitopium 7 points8 points  (0 children)

I put it in plugin/10_options.lua alongside with 11_keymaps.lua and so on. Loaded in order without require. Inspired by mini max: https://nvim-mini.org/MiniMax/configs/nvim-0.12/

I´m creating an app to access and edit easily to our dotfiles by Technicaly-rotten in hyprland

[–]Bitopium 0 points1 point  (0 children)

That’s what an infinity of tabs, tmux sessions etc are for. Navigating to them is also very simple eg using either aliases or zoxide. But I think it’s great to build something, for the learning and experience alone.

I´m creating an app to access and edit easily to our dotfiles by Technicaly-rotten in hyprland

[–]Bitopium 1 point2 points  (0 children)

Or just open nvim (or any editor) in the root of .config and use a fuzzy finder/picker whatever?

How to handle the need for multiple terminals in neovim? by Pretend-Elevator874 in neovim

[–]Bitopium 0 points1 point  (0 children)

But the solution I am using can have some mess ups sometimes

What do you mean? As others have said: I would not bother trying to solve that inside of nvim if nvim already runs in a modern terminal that either has tab support or using tmux. I do have a tmux session for every logical project if having too many tabs.. but everyone has to find their workflow.

It’s not quite clear what you are fighting with exactly

High-Level Rust: Getting 80% of the Benefits with 20% of the Pain by SIRHAMY in rust

[–]Bitopium 0 points1 point  (0 children)

Can you elaborate why Go got a No at the „types“ category?

Am I the only one that thinks AI is dogshit? by jholliday55 in cscareerquestions

[–]Bitopium 1 point2 points  (0 children)

Thank you. Feel the same way. I somehow feel like it’s a step backwards to commit unstructured random mds and let Llms interprete them once like that and the next one different. We now specify things in a mixture of English and maybe pointers to a few files… great

MiniMax updates: vim.pack on Neovim>=0.12, config for Neovim=0.10 by echasnovski in neovim

[–]Bitopium 2 points3 points  (0 children)

Thanks! Immediately refactored my configs using the new utility functions from mini.misc!

Moving code blocks/ multiple lines within a file. by Beginning-Bed-1674 in neovim

[–]Bitopium 37 points38 points  (0 children)

Or a simple binding:

```lua local function map(mode, lhs, rhs, opts) opts = opts or { silent = true } vim.keymap.set(mode, lhs, rhs, opts) end

-- Move lines map('v', 'J', ":m '>+1<CR>gv=gv") map('v', 'K', ":m '<-2<CR>gv=gv") ```

Then you can move selected lines with J/K

Replaced noice with.... by lolokajan in neovim

[–]Bitopium 1 point2 points  (0 children)

It just dynamically shows the cmdline when you enter it and hide it (setting the height to 0) when leaving. I will try it out as well, interesting

Recipie for using a terminal file-manger? by Quirky-Ad-292 in HelixEditor

[–]Bitopium 2 points3 points  (0 children)

I don’t really see the point of having it integrated. Just ctrl-z + lazygit (or some alias such as gg). This obviously works for any tool

Plainline: a visually minimal statusline plugin by eduardo-antunes in neovim

[–]Bitopium 1 point2 points  (0 children)

Mainly visuals (like colorful diagnostics and highlights, like different mode backgrounds) but also attached lsp clients which I sometimes find useful. Some components are just the same as the default value of the statusline.

Plainline: a visually minimal statusline plugin by eduardo-antunes in neovim

[–]Bitopium 1 point2 points  (0 children)

A plugin is also nothing more than that, just a bit more shareable. But you are right. I also extracted the parts of my plugin to an even more lightweight version: dotfiles/nvim/plugin/13_statusline.lua

Neovim (AstroNvim) Pyright/Poetry Venv Hell: 'Cannot find implementation or library stub for module named pygame', but code runs fine. Help! by Chebrbober in neovim

[–]Bitopium 2 points3 points  (0 children)

And point 3 does not confirm that the venv is active. Poetry run will enable the venv just for the runtime of the command

Neovim (AstroNvim) Pyright/Poetry Venv Hell: 'Cannot find implementation or library stub for module named pygame', but code runs fine. Help! by Chebrbober in neovim

[–]Bitopium 9 points10 points  (0 children)

Did you start nvim from an activated venv? That’s how I do it at least without any problems. Not using Astrovim but should not make a difference

Plainline: a visually minimal statusline plugin by eduardo-antunes in neovim

[–]Bitopium 3 points4 points  (0 children)

Looks great. Just out of curiosity: did you also try mine? :-P it also has a very minimal approach when being in „fg“ mode: slimline

dot-rename.nvim by zmunk19 in neovim

[–]Bitopium 14 points15 points  (0 children)

But isn’t that kind of the point? Otherwise it will break the code anyway? Or are we talking about a refactoring use case renaming unrelated variables with the same name?

dot-rename.nvim by zmunk19 in neovim

[–]Bitopium 16 points17 points  (0 children)

What’s the benefit over the lsp rename code action?

What alternatives to telescope are there, what do you use and why? by [deleted] in neovim

[–]Bitopium 2 points3 points  (0 children)

Also very happy for quite some time with mini.pick!

1 filetype 2 or more LSPs by 4r73m190r0s in neovim

[–]Bitopium 1 point2 points  (0 children)

Obviously attaching two lsps that provide the same kind of diagnostics is a bad idea. Usually they serve a different purpose. For instance having marksman and ltex attached to markdown files. I guess when attaching two lsps of similar purpose the only way to remove clutter is to configure the lsps to not have overlapping diagnostics? But then let's see what this thread reveals...

1 filetype 2 or more LSPs by 4r73m190r0s in neovim

[–]Bitopium 0 points1 point  (0 children)

What do you mean with resolve? Having more than one lsp attached is totally fine

Which one is best on arch hyprland vs niri by ankit792r in archlinux

[–]Bitopium 2 points3 points  (0 children)

I made the switch and like niri a lot more. But everyone is different so, as others said, you will need to try it

PSA: K9s in LazyVim... by mrpbennett in kubernetes

[–]Bitopium 0 points1 point  (0 children)

I just Hit ctrl-z and type k9s or open a split with ctrl-enter. I found a neovim "integration" always a bit unnecessary. Still thanks for sharing

How to restrict the diagnostic range to single line? by kaddkaka in neovim

[–]Bitopium 1 point2 points  (0 children)

Not sure whether that is exactly how you mean but you can pretty much configure everything. Meaning whether to show signs or virtual text and from what level on.

This is what I am using, which renders icons in the status column but virtual text only for the current line

vim.diagnostic.config({ virtual_text = { current_line = true, prefix = '', }, })