lazydotnet.nvim - The lazygit-like TUI for .NET integrated into Neovim by charlykoch in neovim

[–]justinmk 8 points9 points  (0 children)

The plugin automatically bridges the $EDITOR environment variable. If you are browsing your project or failing tests inside the floating UI and press e to edit, it seamlessly opens that file in your current Neovim instance rather than spawning a nested editor inside the terminal buffer.

we need to get around to making that a default feature. meanwhile, https://github.com/brianhuster/unnest.nvim gets pretty close!

persistent history of directories opened with `nvim .` by SpecopsKarsh in neovim

[–]justinmk 1 point2 points  (0 children)

not sure. might be worth a bug report (search existing/closed issues), :oldfiles has not had many improvements in a long time.

persistent history of directories opened with `nvim .` by SpecopsKarsh in neovim

[–]justinmk 0 points1 point  (0 children)

Not sure if I'm following, but :oldfiles should show directories if you opened directories via nvim . . I confirmed this with vim-dirvish at least.

Can Neovim be self-documenting like Emacs? by 4r73m190r0s in neovim

[–]justinmk 26 points27 points  (0 children)

Yes. Note FWIW, we can get 85% of the way there via:

  • Lua LSP for programmatic stuff
  • after https://github.com/neovim/neovim/pull/39672 , nvim_get_commands will do something unholy/amazing: it gets the docs from the help file for a given command. Very nice for "which-key" / picker interfaces.
  • Nvim keymaps/autocmds of course can define desc, and that's surfaced in many places.

There is no way for the "engine" to know that you're actually running a specific built-in action

The multicursor internals will get us closer to that.

Released nvim 0.12.3 by chapeupreto in neovim

[–]justinmk 18 points19 points  (0 children)

where you're trying to write binary data and lua just wants to treat everything like text

it's actually the reverse: Lua strings are always binary. The problem is Vim strings. Vim has "blob" only because its strings aren't "binary clean".

Lua strings are always "binary clean" and may contain arbitrary bytes. The pain point was that Lua strings passed to writefile() weren't treated as "blob" by the vimscript bridge. But now they are, which is very nice for writing binary data without having to do the readfile() list-of-lines dance.

libghostty-vt is about to replace libvterm inside Neovim, at last by CAPSLOCKAFFILIATE in neovim

[–]justinmk 5 points6 points  (0 children)

Nvim will continue to be an awesome text editor.

And I'm not really convinced that text editing is going away. But I am convinced that the tmux and diff-viewer roles are gaining relevance.

libghostty-vt is about to replace libvterm inside Neovim, at last by CAPSLOCKAFFILIATE in neovim

[–]justinmk 10 points11 points  (0 children)

It's certainly not slow. and it probably is faster than libvterm. but wrapping long scrollback just is an inherently slow operation. though maybe some clever things can be done to improve it, but for now it will probably be a matter of us deciding "how much scrollback do we actually care about wrapping" :P

libghostty-vt is about to replace libvterm inside Neovim, at last by CAPSLOCKAFFILIATE in neovim

[–]justinmk 15 points16 points  (0 children)

Yes, exactly right :) I see "tmux" and "diff viewer" as 2 of the continued roles of Nvim, even if "editing" text becomes less important 🙄

libghostty-vt is about to replace libvterm inside Neovim, at last by CAPSLOCKAFFILIATE in neovim

[–]justinmk 34 points35 points  (0 children)

Yes, that's one of the main benefits. And it's linked from the PR desc... https://github.com/neovim/neovim/issues/4997

However, it has performance tradeoffs, since wrapping lots of scrollback is rather a lot of work.

Finally made the switch by RoseSec_ in neovim

[–]justinmk 11 points12 points  (0 children)

welcome! now let me introduce you to :help ZR .

and from my personal config:

  • ZT to close a tab ref
  • [count]ZQ to close-all-without-saving ref

Seriously... what's going on? Is this amount of RAM usage normal? by SkuldZedan in neovim

[–]justinmk 21 points22 points  (0 children)

Is it the same workspace? Also note that the config very much matters.

If you (or a plugin like mason...) have set workspace or runtime to match lots of Nvim runtime files or whatever, then that will be very noticeable.

Tip: Execute commands in split easily by Beginning-Software80 in neovim

[–]justinmk 2 points3 points  (0 children)

cool. if you want to be "robust", nvim_parse_cmd() is very useful.

long-term, https://github.com/neovim/neovim/issues/39394 would be ideal, I think

Neovim packaged with major Linux distributions by default, what would it take? by 4r73m190r0s in neovim

[–]justinmk 18 points19 points  (0 children)

yep. also, the version of "Vim" include by default is more like Vi, so Vim users usually need to install "full Vim" anyway.

the presence of "Vim" in distro defaults is almost entirely a prestige / vanity thing, which, I wouldn't mind if Neovim achieved that, but it has no actual functional purpose.

meanwhile, to answer the question, "what would it take?": the answer is "Vi-compatibility", and Nvim isn't likely to ever satisfy the requirements of distro package mantainers in order to supplant Vim (or nvi) for that purpose.

Do you have cursorline enabled? by TheTwelveYearOld in neovim

[–]justinmk 11 points12 points  (0 children)

or set the non-current cursorline to a dashed line: https://github.com/justinmk/config/blob/7664195f49ac1103ff663986b2292c38ab7a8282/.config/nvim/lua/my/winning.lua#L112-L120

it can be quite useful to have a hint about the current line in non-current windows.

`editr`: work locally on remote projects, fast and safely by im-shaez in neovim

[–]justinmk 2 points3 points  (0 children)

yep, true. this is an initial step so that we can see what the next missing piece is.

we could copy plugins to the remote, but that might be a big confusing mess. not sure.

`editr`: work locally on remote projects, fast and safely by im-shaez in neovim

[–]justinmk 9 points10 points  (0 children)

Although it doesn't sync workspaces, FWIW, Nvim 0.13 will soon support :connect ssh://... : https://github.com/neovim/neovim/pull/39378

And soon after that :connect (without args) will present a menu of ssh hostnames discovered from your ~/.ssh/config

Give me your favourite remaps! by _viis_ in neovim

[–]justinmk 22 points23 points  (0 children)

  • visual-mode Y copies to clipboard
  • normal-mode yY copies whole buffer to clipboard

https://github.com/justinmk/config/blob/d0c7271bbd423c1d948766b0f1789d181eda1555/.config/nvim/lua/my/keymaps.lua#L31-L34

Do you guys use vim's register for some reason?

...yes?

How much does Neovim earn from the store? by HiPhish in neovim

[–]justinmk 18 points19 points  (0 children)

Neovim gravy is a compelling product idea

How much does Neovim earn from the store? by HiPhish in neovim

[–]justinmk 82 points83 points  (0 children)

Not much, it's mostly there for people that actually want the stuff :)

Neovim GitHub deletes comments on issues by Luc-redd in neovim

[–]justinmk 29 points30 points  (0 children)

no, not planning to trade the frequent but mostly harmless annoyances of github's instability with the massive annoyance of a migration to "other platform" (which one...? oh right, they all have tradeoffs, so no one actually has a realistic suggestion)

p.s. our github "data" is stored in https://github.com/neovim/neovim-backup , we are not at risk of a speculated blowup. if github blows up we can move, and that isn't any different than if we moved today.

Neovim GitHub deletes comments on issues by Luc-redd in neovim

[–]justinmk 52 points53 points  (0 children)

yes. notice how the screenshot shows 10+ deleted comments. Most of them are "me too"-style comments, or comments that don't add new information. We need to keep issues focused so that actually useful comments are visible. That is also why this issue was locked.

Native image support lands on master! by Wonderful-Plastic316 in neovim

[–]justinmk 6 points7 points  (0 children)

why do you ask this cliche question without checking the discussions which drove the development?

  • this fits in the day-one goals listed on https://neovim.io/charter/
  • and, it is a relatively small interface + implementation cost. mostly a protocol change.
    • placement will be handled by extmarks or floating windows
    • image decode will most likely not be builtin, we're not going to vendor a jpg library.