TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Neovim 0.9

117 点作者 eugene_pirogov大约 2 年前

18 条评论

gpanders大约 2 年前
One feature I&#x27;m personally excited about is the &quot;undeprecation&quot; of the &#x27;exrc&#x27; option, which allows project-specific configuration.<p>Vim (and thus Neovim) has had the &#x27;exrc&#x27; option for a long time, which loads any .exrc or .vimrc (or in Neovim&#x27;s case, .nvimrc) files in the current directory. However, it does this unconditionally, which is obviously a bit of a security concern as a random .vimrc file could contain arbitrary code. For this reason, Vim recommends not using this option and Neovim even went so far as to mark it deprecated.<p>In this release, Neovim adds the concept of a &quot;trust database&quot;, which is used for the &#x27;exrc&#x27; option. When &#x27;exrc&#x27; is enabled and a .nvimrc or .nvim.lua file is found in the current directory, Neovim will ask the user if the file is trusted (with the ability to first view the file). The file is only executed if the user explicitly marks it as trusted. Because this solves at least the most egregious security issues with the &#x27;exrc&#x27; option, it is now marked undeprecated in Neovim.<p>I have been using .nvim.lua files for project specific configuration to great effect at work. Hopefully others find this feature useful as well.
评论 #35486064 未加载
评论 #35505904 未加载
wadd1e大约 2 年前
Congrats to the Neovim team! I know one complaint that people tend to have with nvim is that they can never get to a stable config that they don&#x27;t need to keep tweaking; I used to be one of those users that kept making changes to their config but I&#x27;ve had a stable config for roughly 6 or so months now and I&#x27;ve been loving neovim and the fact that it&#x27;s personalised exactly to my liking. So what I&#x27;m trying to say is that there&#x27;s hope for those who are still in the depths of the configuration rabbit hole :)
评论 #35483543 未加载
评论 #35481407 未加载
评论 #35486494 未加载
评论 #35480832 未加载
评论 #35480838 未加载
yanis_t大约 2 年前
I just realised that I&#x27;m using Neovim despite there are no nvim-specific plugins in my config (CoC covers most of my needs), and I don&#x27;t use lua.<p>Still is feels like Neovim is more stable and faster than the regular Vim somehow. Plus it has much better defaults.
评论 #35481790 未加载
kzrdude大约 2 年前
How do you all install neovim on Linux? The .deb is gone with this release, which I think was the most orderly way to fit into my install. I think I&#x27;ll want to find a PPA solution now. I am not a fan of installs that are not reversible.
评论 #35482673 未加载
评论 #35481323 未加载
评论 #35481591 未加载
评论 #35483955 未加载
评论 #35481238 未加载
评论 #35481235 未加载
评论 #35484004 未加载
评论 #35481345 未加载
评论 #35481161 未加载
eterps大约 2 年前
I began utilizing Vim approximately three decades ago, and experiencing a contemporary tool like Neovim still feels incredibly astounding.
评论 #35481038 未加载
codewiz大约 2 年前
Neovim 0.9.0 release notes: <a href="https:&#x2F;&#x2F;github.com&#x2F;neovim&#x2F;neovim&#x2F;blob&#x2F;v0.9.0&#x2F;runtime&#x2F;doc&#x2F;news.txt">https:&#x2F;&#x2F;github.com&#x2F;neovim&#x2F;neovim&#x2F;blob&#x2F;v0.9.0&#x2F;runtime&#x2F;doc&#x2F;new...</a><p>GitHub release page with build artifacts: <a href="https:&#x2F;&#x2F;github.com&#x2F;neovim&#x2F;neovim&#x2F;releases&#x2F;tag&#x2F;v0.9.0">https:&#x2F;&#x2F;github.com&#x2F;neovim&#x2F;neovim&#x2F;releases&#x2F;tag&#x2F;v0.9.0</a>
favadi大约 2 年前
&gt; EditorConfig support is now builtin.<p>That&#x27;s great, one less plugin to install.
theusus大约 2 年前
I have tried many times to switch to Neovim, but I keep coming back to VS Code.<p>1. I can&#x27;t create configs myself. 2. Astro, Lunar ... all break at sometime.
评论 #35481506 未加载
评论 #35481455 未加载
评论 #35481634 未加载
评论 #35482412 未加载
cutler大约 2 年前
After hacking around with various Neovim &quot;frameworks&quot; I decided I want my text editor to but just that and no more so switched back to Vim and MacVim. The improvements to Vim&#x27;s scripting language were icing on the cake.
评论 #35488382 未加载
评论 #35481391 未加载
评论 #35481713 未加载
crop_rotation大约 2 年前
I spent a good amount of time learning vim&#x2F;neovim and installed tons of plugins, but in the end I didn&#x27;t see the point. Language support is still nowhere near VSCode, let alone Jetbrains products. I do all my development on a macbook so ultra low memory or being installed by default is not a requirement.<p>People praise vim&#x2F;neovim for being small but to get any decent functionality you will end up with tons of plugins. The default vim&#x2F;neovim is a fine text editor but when you need to write text you have better tools anyways. Maybe one can type fast in vim, but who is writing code limited by the speed of typing.
评论 #35481280 未加载
评论 #35481424 未加载
评论 #35481705 未加载
评论 #35481684 未加载
评论 #35481365 未加载
评论 #35481276 未加载
评论 #35481191 未加载
pyrophane大约 2 年前
Id gotten busy at work and was using vscode because it was very easy to set up and use, but I never really liked it.<p>Recently had some downtime and finally got around to setting up nvim and writing a config for it to get an IDE experience from it, and I love it!<p>Probably the biggest pain-point was wrapping my head around all of the plugins and config needed for language server completion, but overall configuring it was a good experience.<p>Really happy to see the .9 release out, as I&#x27;ve been using the daily builds for a while now
vander_elst大约 2 年前
I&#x27;ve really tried to move from vim to neovim for a long time and spent many hours trying to configure it to behave like vim, but every time I try it breaks in unexpected ways or it hungs up, while vim for my workflow never flinks. I hope that they&#x27;ll reach a 1.0 soon where things are more stable.
评论 #35483661 未加载
评论 #35481585 未加载
评论 #35481587 未加载
评论 #35481997 未加载
tgz大约 2 年前
I try this release on debian buster:<p>nvim: &#x2F;lib&#x2F;x86_64-linux-gnu&#x2F;libm.so.6: version `GLIBC_2.29&#x27; not found (required by nvim)<p>Why binary doesn&#x27;t support old glibc?
评论 #35482771 未加载
tarkin2大约 2 年前
Since I&#x27;ve learnt vimscript and am relatively happy using it, what&#x27;s the advantage of writing plugins in lua for neovim?
评论 #35481753 未加载
评论 #35482017 未加载
评论 #35481443 未加载
BaculumMeumEst大约 2 年前
i&#x27;m considering hopping over from emacs but i&#x27;m not sure how to kick off an async shell command, pass the current buffer to its stdin, and write its output to a buffer. does anyone know if should i be using job_control or io.popen for that sort of thing?
pydry大约 2 年前
For people who have used helix and neovim recently, how do they compare?
评论 #35480920 未加载
评论 #35481948 未加载
评论 #35482051 未加载
sauercrowd大约 2 年前
Does anyone have a TLDR&#x2F;highlights of the release?
评论 #35481077 未加载
bilalq大约 2 年前
I&#x27;ll kind of hijack this thread to ask a support question:<p>I often use neovim within the terminal in VSCode. Lately, I&#x27;ve had issues with the cursor becoming invisible while in normal mode. The line cursor works as expected in insert mode. Changing the settings for cursor style in VSCode temporarily fixes it, but the problem comes right back when I transition to insert mode and come back to normal mode. Anyone have any suggestions for a fix?