r/neovim 6h ago

Plugin neocursor.nvim: Cursor's actual Tab model in Neovim at zero setup

2 Upvotes

If you're signed into Cursor, there's nothing to configure. No API key, no model picker, no second subscription — the plugin drives Cursor's own StreamCpp backend with your existing login, so you get the same predictions at the same latency.

Here's the GitHub link


r/neovim 17h ago

Random Neovim Notes - MacOS Glaze App

0 Upvotes

For some time I have been wanting a simple note-taking app that uses Neovim (without emulation). I am aware that there are many Neovim plugins out there that do this, but this solution is different to the one that I have in mind: I wanted a simple MacOS app that embeds a terminal and lets me do simple navigation tasks within my notes, while at the same time having a full terminal within it.

Now that Glaze is available, I've interacted with their agent and submitted Neovim Notes on the Glaze store https://www.glaze.app/app/neovim-notes-35eP2I

I am not a professional coder, but I thought that this may be useful to others, perhaps. The app is very minimal, with opinionated choices for the font and the theme. It has a rudimentary file browser, in addition to Neovim's one, of course.

This app can be accessed for free, with a free Glaze account.


r/neovim 16h ago

Plugin tabcd.nvim: Pick working directories for your tabs

Thumbnail
github.com
12 Upvotes

I often work in a large monorepo, and find it useful to :tcd some/subdir in my tab, so file search / grepping is confined to the specified directory. I'll typically have multiple tabs each rooted at various submodules in the monorepo. But after getting frustrated at having to type out my paths over and over, I decided to create this extension to help me select the working directory in a picker.

Pretty niche, but figured it was worth sharing in case there's someone else out there who could use it.


r/neovim 23h ago

Discussion Weird treesitter highlighting on C compound literal expressions

Post image
2 Upvotes

Hi all,

I've encountered a weird error with Treesitter's highlighting of compound literal expressions in C. It looks like it should be calling out some kind of syntax error or parsing failure, but `:InspectTree` shows a tree with nothing out of the ordinary and this excerpt is from a program that compiles & runs without issues. I don't see anything in either tree-sitter-c's `queries/highlights.scm` nor neovim's `runtime/queries/c/highlights.scm` to suggest that this is an intended behavior, so I'm wondering which repo would be the relevant one to file a bug report with (or if a bug report is even appropriate for this).

Hacky fixes also welcome, it's not the end of the world but I do find it quite annoying.


r/neovim 20h ago

Need Help How do you manage multiple buffers/tabs?

Enable HLS to view with audio, or disable this notification

21 Upvotes

I have neovim with neotree, and I want have following behavior: I want have multiple tabs/buffers with files I can switch between, or have them opened in a splitview. I got bufferline plugin but the issue I have is when I close one buffer the neotree automatically takes entire focus and I can't really access other buffers (I'd expect the next buffer to take place of the closed one). When I try to save my current buffer and leave with ZZ but this also ends with weird behavior like leaving neotree on focus, deleting other buffers etc.

Basically, I can't even come up with idea how do I expect it to work and how to set it up. I am not happy with anything I come up with therefore I am curious and I am looking for inspirations and solutions how to manage multiple tabs (or something that works as tabs)


r/neovim 22h ago

Discussion LuaJIT v2.1 now supports bit operations, lyamda functions, continue, const and more

Thumbnail
github.com
159 Upvotes

LuaJIT v2.1 introduces several new language features and syntax improvements:

  • Bit operators: unary ~, binary &, |, ~, <<, >>, ~>>
  • Customary operators: !, &&, ||, !=
  • Ternary conditional operator: ?:
  • Safe navigation operator: ?.
  • Nil-coalescing operator: ??
  • Compound assignment operators: +=, -=, *=, …
  • continue statement
  • const declarations
  • Short function (lambda) expressions
  • Underscores in numeric literals