6 ms·
What features?
by random_mutex 3y ago
What features?
- suprjami 3y agovim-cscope, which is the only reasonable way to read large C projects like the Linux kernel or BSD
- random_mutex 3y agoA language server is way better than cscope ...if you can get clangd to work with your codebase.
- suprjami 3y agoIt works but I don't want to build the kernel to generate the compilation database every time I check out a new tag or branch. With BSD it would be even worse.
- kzrdude 3y agoOne "meta feature" that was dropped was the ability to build the editor with or without different features. vim --version shows a long list of +/- features, neovim doesn't do that. I'm sure neovim dropped a lot but I don't have the full overview. Prominently it dropped support for giving !commands access to the actual tty. Commands that access the tty have to be used through the command :term instead. Neovim prominently dropped support for gvim as well (GTK UI). Instead they focus on being embeddable in new ways to create UIs.
- devnullbrain 3y ago!pwd works for me in nvim, I use it every day
- random_mutex 3y ago>One "meta feature" that was dropped was the ability to build the editor with or without different features. vim --version shows a long list of +/- features, neovim doesn't do that. What's wrong with all features enabled by default? > I'm sure neovim dropped a lot but I don't have the full overview. https://neovim.io/doc/user/vim_diff.html https://neovim.io/doc/user/vim_diff.html >Prominently it dropped support for giving !commands access to the actual tty. Commands that access the tty have to be used through the command :term instead. Why would you run an interactive command with `:!` ?
- kzrdude 3y agoWhat's wrong? I didn't mean it like that, I've just listed it as a thing that was removed. And about !, It's also listed as a thing that changed, no judgment. Regarding usecases I think if it's possible, some user will take advantage of it.
- NobodyNada 3y ago> Why would you run an interactive command with `:!` ? I ran up against this limitation recently. The kitty terminal exposes APIs allowing processes to communicate with the terminal using escape codes. I wanted to configure Neovim to access the system clipboard using kitty’s API, so that I could copy/paste from within Neovim even over SSH. However, this would require Neovim to give the clipboard subprocess access to the controlling TTY. (Running it within :term would not work, as the escape sequences would thus be passed to Neovim’s virtual terminal emulator, not the instance of kitty that Neovim itself is running within.)
- aumerle 3y agoneovim supports OSC 52 out of the box so clipboard over SSH should just wrk in kitty or any terminal that supports OSC 52. kitty of course supports a lot more than OSC 52 but for basic opy/paste of plain text, OSC 52 is sufficient.
- NobodyNada 3y agoNeovim doesn’t support OSC 52 unless I’m missing something. There’s an open issue: https://github.com/neovim/neovim/issues/3344 https://github.com/neovim/neovim/issues/3344 It’s easy to implement OSC 52 copy with a simple script/plugin, but apparently not paste without adding some code inside of Neovim itself.