3 ms·
I don't quite get what the advantage / goal of this is. I find the fact that neovim runs in a terminal an advantage; they share font configuration and colour a
by WhyNotHugo 5y ago
I don't quite get what the advantage / goal of this is.
I find the fact that neovim runs in a terminal an advantage; they share font configuration and colour and other settings, and I can quickly jump in and out of nvim from a terminal.
Having it run in a separate window just means I now have an extra window lying around (the terminal where I typed `nvui`).
And smooth scrolling works on regular neovim with https://github.com/psliwka/vim-smoothie https://github.com/psliwka/vim-smoothie
- da39a3ee 5y ago> the terminal where I typed `nvui` Maybe you'll find some advantages in having a long-running editor process, rather than starting one from the terminal whenever you want to edit? For example, ctr+click on a compiler error message in the terminal could open the file at the correct line in the (already running) nvui process.
- 7kay 5y agoI guess this is a thing you could achieve with neovim-remote[1]. My main use case for it avoiding nested neovim processes in the inbuilt terminal, though [1]: https://github.com/mhinz/neovim-remote https://github.com/mhinz/neovim-remote
- chrisseaton 5y ago> And smooth scrolling works on regular neovim with https://github.com/psliwka/vim-smoothie https://github.com/psliwka/vim-smoothie Doesn't 'smooth scrolling' mean scrolling in increments less than a full line, to avoid the janky jarring jump from one line to the next? I don't get how you can do smooth scrolling in a terminal interface? The screenshots in that link aren't smooth - they jump whole lines at a time, unlike the screenshots you can see on the NeoVim page.
- MontyCarloHall 5y ago> I don't get how you can do smooth scrolling in a terminal interface? Via a terminal bitmap rendering protocol like sixel [0], or KiTTY’s terminal graphics protocol [1]? I wonder if a library like notcurses [2] could allow for efficient rendering of text to a terminal graphics framebuffer? [0] https://saitoha.github.io/libsixel/ https://saitoha.github.io/libsixel/ [1] https://sw.kovidgoyal.net/kitty/graphics-protocol/ https://sw.kovidgoyal.net/kitty/graphics-protocol/ [2] https://github.com/dankamongmen/notcurses https://github.com/dankamongmen/notcurses
- chrisseaton 5y agoYou mean do all the text rendering yourself and stream the image to the terminal? At that point why use a terminal rather than a graphics window?
- MontyCarloHall 5y agoRemote access is the big one. It’s 2021 and ssh somehow still remains by far the most robust protocol for remote interaction. X forwarding is awful, and VNC and its ilk require forwarding an entire desktop, which is inconvenient if you’re just interested in working in a single application, or having your client machine do its own window management. I agree, it’s an ironic state of affairs that in the era of cloud computing and thin clients (everything old is new again!) TUI graphics might be one of the best way of actually working remotely on those cloud VMs.
- jcelerier 5y agoWhy do this when you can just sshfs the source folder and configure your IDE to run its build commands through SSH?
- chrisseaton 5y agoI've been trying this for IntelliJ to be able to develop Java on a remote instance and it's intractably slow. Haven't figured out where the problem is yet - I guess maybe IntelliJ does some things that expect performance that the remote file system isn't able to provide.
- __s 5y agoIt's all relative. smoothie scrolls over multiple renders, rather than jumping a page all at once One line is plenty resolution. What next, you'll ask for subpixel rendering to deliver subpixel smooth scrolling?
- chrisseaton 5y agoWell anyway ultimately this is the concrete advantage of a GUI that was asked about - it can do better than janky whole-line scrolling.
- dTal 5y agoAnd why not? Video games are fully antialiased. Why shouldn't I demand at least the same care and attention to technical detail in my productive tools?
- WhyNotHugo 5y agoSubpixel scrolling would likely be invisible to the human eye. Apple has even dropped subpixel rendering entirely, since that was only really needed in lower resolution displays.
- nerdponx 5y agoThe advantage is that there's something for everybody. You like working in a terminal, but I like having a dedicated GUI IDE, and I want it to be built on Neovim underneath. There is a separate config file for the GUI layer.