Live data from Hacker News

Show HN: Yode-Nvim – Focused Code Editing for Neovim

github.com

11–20 of 23 posts

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#11
post #6

An off-topic comment: Interesting for the “GIF” section to have links to .mp4 videos — the “GIF” word now seems to be synonymous to short playable animations. Love that the author did that though, I’ve seen too many repos with multiple giant (~10MB) GIFs on the README and burn my mobile data plan.

Unfortunately I just see this error on Firefox 96.0.3 on Linux though: https://i.imgur.com/DgQLXqj.png EDIT: looks like there is already an issue about it. https://github.com/hoschi/yode-nvim/issues/4

There is something wrong with either Firefox or Github. I have the same issue on my repo and I know the mp4 files I generated are kosher.

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#12
post #6

An off-topic comment: Interesting for the “GIF” section to have links to .mp4 videos — the “GIF” word now seems to be synonymous to short playable animations. Love that the author did that though, I’ve seen too many repos with multiple giant (~10MB) GIFs on the README and burn my mobile data plan.

Unfortunately I just see this error on Firefox 96.0.3 on Linux though: https://i.imgur.com/DgQLXqj.png EDIT: looks like there is already an issue about it. https://github.com/hoschi/yode-nvim/issues/4

fixed it

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#14

I have been using NrrwRgn[0] for editing and presenting individual sections of code. How does Yode compare? [0]: https://github.com/chrisbra/NrrwRgn

Yode-Nvim can create more regions of the same file as well as a floating "window manager" for regions called "layout". Yode-Nvim syncs changes from regions to files in real time where you need to "write" the changes by hand with NrrwRgn.

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#15
Hey this is super cool, but can it work without the floating windows? Can I assign seditors to regular vim splits (am I using the terminology correctly?).

The narrow functions in Emacs were great, and almost made me switch to Emacs. I know NrrwRgn exists, but it didn't automatically sync the buffers, so you couldn't have them open side by side. This looks better, but I don't like the automatic layout stuff. I prefer to control that myself.

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#16
post #15

Hey this is super cool, but can it work without the floating windows? Can I assign seditors to regular vim splits (am I using the terminology correctly?). The narrow functions in Emacs were great, and almost made me switch to Emacs. I know NrrwRgn exists, but it didn't automatically sync the buffers, so you couldn't have them open side by side. This looks better, but I don't like the automatic layout stuff. I prefer…

this already works, just use `YodeCreateSeditorReplace`. The command creates a seditor and opens it in the current window. You can then use the created seditor like any other buffer. To open a selected code part in normal splits do:

:YodeCreateSeditorReplace :vsp blt

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#17
post #16
post #15

Hey this is super cool, but can it work without the floating windows? Can I assign seditors to regular vim splits (am I using the terminology correctly?). The narrow functions in Emacs were great, and almost made me switch to Emacs. I know NrrwRgn exists, but it didn't automatically sync the buffers, so you couldn't have them open side by side. This looks better, but I don't like the automatic layout stuff. I prefer…

this already works, just use `YodeCreateSeditorReplace`. The command creates a seditor and opens it in the current window. You can then use the created seditor like any other buffer. To open a selected code part in normal splits do: :YodeCreateSeditorReplace :vsp blt

I completely missed that command when looking through the docs. Thank you, and sorry for wasting your time! Great work on this plugin, it's amazing!

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#18
post #17
post #16

Earlier quoted context omitted.

this already works, just use `YodeCreateSeditorReplace`. The command creates a seditor and opens it in the current window. You can then use the created seditor like any other buffer. To open a selected code part in normal splits do: :YodeCreateSeditorReplace :vsp blt

I completely missed that command when looking through the docs. Thank you, and sorry for wasting your time! Great work on this plugin, it's amazing!

Naaah ;) Some people missed the installation instructions https://github.com/hoschi/yode-nvim/issues/5

Re: Show HN: Yode-Nvim – Focused Code Editing for Neovim

#20

An off-topic comment: Interesting for the “GIF” section to have links to .mp4 videos — the “GIF” word now seems to be synonymous to short playable animations. Love that the author did that though, I’ve seen too many repos with multiple giant (~10MB) GIFs on the README and burn my mobile data plan.

I really dislike situations like this where the inferior becomes a name for the category, because it encourages people to keep using the inferior, often because that’s all they hear of and so all they know. “RSS” for feeds is a similar, though somewhat less bad, case (Atom is unequivocally superior, but in ways that seldom make a difference for most consumers for most content).

(Admittedly, actual video codecs are more a minefield, as is seen here in the video not playing in most environments due to the use of full 4:4:4 chroma, whereas GIF is simple and stupid enough that it’s consistent.)

Post reply on HN