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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Vim's 25th anniversary and the release of Vim 8

290 点作者 Iuz超过 8 年前

17 条评论

a-b超过 8 年前
Fun fact about vim:<p>When vi was originally designed the most popular keyboard was ADM-3A and later IBM XT <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;IBM_PC_keyboard#&#x2F;media&#x2F;File:IBM_Model_F_XT.png" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;IBM_PC_keyboard#&#x2F;media&#x2F;File:IB...</a> The layout of this keyboard has Control on the place where modern keyboards have a CapsLock key. Naturally that&#x27;s why vi and vim was meant to use CTRL-[ to exit to the normal mode.<p>25 years later Apple introduced ToughBar and made ESC key virtual. As result remapped CapsLock-[ make sense again ;)<p>edit: Add ADM-3A keyboard
评论 #13608208 未加载
评论 #13608146 未加载
评论 #13609784 未加载
评论 #13609944 未加载
评论 #13608988 未加载
评论 #13608268 未加载
评论 #13610503 未加载
评论 #13609729 未加载
评论 #13612816 未加载
robteix超过 8 年前
In the early 2000s, I was at a friend&#x27;s place with John &quot;maddog&quot; Hall, who was talking to a group of us about the future of software and the promises of quantum computing.<p>He said something that I always found interesting. He was talking about how in a decade or so we would probably be using software and tools that would be unrecognizable to us at that moment, but after a pause he added: &quot;but we&#x27;ll still be writing code with vi.&quot; :)
评论 #13609453 未加载
评论 #13608723 未加载
a-b超过 8 年前
Vim is great, but hard out of box. That&#x27;s why I&#x27;d like to mention couple community distributions to make it even better:<p>• <a href="http:&#x2F;&#x2F;vim.spf13.com" rel="nofollow">http:&#x2F;&#x2F;vim.spf13.com</a> this distribution is remarkable! Extremely well documented vimrc file is a great source of knowlege by itself <a href="https:&#x2F;&#x2F;github.com&#x2F;spf13&#x2F;spf13-vim&#x2F;blob&#x2F;3.0&#x2F;.vimrc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;spf13&#x2F;spf13-vim&#x2F;blob&#x2F;3.0&#x2F;.vimrc</a><p>• <a href="https:&#x2F;&#x2F;github.com&#x2F;carlhuda&#x2F;janus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;carlhuda&#x2F;janus</a><p>Also, it worth to mention<p><a href="http:&#x2F;&#x2F;spacemacs.org" rel="nofollow">http:&#x2F;&#x2F;spacemacs.org</a><p>and<p><a href="https:&#x2F;&#x2F;neovim.io" rel="nofollow">https:&#x2F;&#x2F;neovim.io</a>
评论 #13609937 未加载
评论 #13608102 未加载
评论 #13608223 未加载
评论 #13608129 未加载
评论 #13613058 未加载
评论 #13608300 未加载
评论 #13614739 未加载
评论 #13613103 未加载
评论 #13623022 未加载
评论 #13608544 未加载
评论 #13610663 未加载
jmcdiesel超过 8 年前
I don&#x27;t see why he felt the need to halfway add in package management, but not go all the way. You still have to download the package and update it manually from what i can tell... where the others you simply add a github path (or other repository path) and updates come eaily, install comes easily.<p>Consider the case of people like me who work on remote servers, who spin up new vagrant boxes and work on them remote... with the package manager as he described it, i&#x27;d have to download all the plugins and manually place them, etc... as i currently stand, i install vundle really quickly , then it just reads my .vundlerc.bundles and installs all the plugins i want, presto. Half solutions are worse than no solutions... because now people will compare the two, and default (likely) to the default solution and make package management harder on themselves than it needs to be...
评论 #13609714 未加载
评论 #13610367 未加载
评论 #13609216 未加载
shmerl超过 8 年前
<i>&gt; User demand for a multi-threaded Vim (e.g. a patch for supporting multiple threads) and its rejection is what prompted the Neovim fork in January 2014. In his presentation, Moolenaar concedes that Neovim did create some pressure to add a way to handle asynchronous jobs. </i><p>I switched to neovim a while ago, because it supported 24-bit color themes in the terminal. Since then it seems even regular vim picked it up too. It&#x27;s good to see that some pressure moved the project forward in different areas which were stuck forever before.<p>Though neovim already uses XDG base directory specification, but vim still doesn&#x27;t.
评论 #13612444 未加载
a-b超过 8 年前
Best place to start vim journey <a href="http:&#x2F;&#x2F;vimcasts.org&#x2F;episodes&#x2F;page&#x2F;7&#x2F;" rel="nofollow">http:&#x2F;&#x2F;vimcasts.org&#x2F;episodes&#x2F;page&#x2F;7&#x2F;</a>
评论 #13609027 未加载
评论 #13609042 未加载
jmcdiesel超过 8 年前
I love VIM... but I feel like VIM&#x27;s life is coming to an end... as VIM. NeoVIM is just... better. The editor as it stands now is essentially the same, but an actual active development that isn&#x27;s a single contributor is going to create a better project, and its going to respond to the community more and keep itself more up to date and performant.<p>I feel bad, in a way, because i have a strong loyalty to vim, but Bram&#x27;s stubbornness at playing well with others is basically holding onto sand, and we know how that analogy goes...
评论 #13609533 未加载
评论 #13609912 未加载
评论 #13609738 未加载
评论 #13609725 未加载
评论 #13609594 未加载
评论 #13609563 未加载
评论 #13610740 未加载
评论 #13609928 未加载
评论 #13612410 未加载
评论 #13609927 未加载
a-b超过 8 年前
Ranked list of vim plugins <a href="http:&#x2F;&#x2F;vimawesome.com" rel="nofollow">http:&#x2F;&#x2F;vimawesome.com</a>
Keyframe超过 8 年前
This is one case where it feels a lot longer than that! I&#x27;ve used jot as primary editor on SGI and emacs sometimes and always when on Sun machines. Vi was always something I wasn&#x27;t all that comfortable with. Then came about amiga where I&#x27;ve encountered Vim and thought to hell with it, why not. Ever since I&#x27;ve used Vim more and more and emacs less and less. In the meantime I&#x27;ve stopped programming as a full time job and I think in the last 8 years or so I&#x27;ve moved completely from emacs to Vim. With plugins I really don&#x27;t see working any other way on longer things. For smaller, scratch type of crap I tend to dwell into sublime and experimenting with VSCode, but Vim is just, well, it&#x27;s an editing experience. Fells like it has been around forever, probably due to vi.
ivanche超过 8 年前
I just wonder whether in 2042 we&#x27;ll read about 50th anniversary of this masterpiece!
评论 #13608028 未加载
评论 #13607911 未加载
smhenderson超过 8 年前
Congratulations Bram! 22 years ago I installed my first GNU&#x2F;Linux distro and tried both emacs^ and Vim. I ended up liking Vim better and I&#x27;ve been using it ever since.<p>^ no disrespect to emacs though, it is also a great and venerable program!
评论 #13608838 未加载
6ftdan超过 8 年前
Yay! I&#x27;ve been using this for quite some time now. I build from the master branch on VIM&#x27;s git repo for custom plugin support. There was a moment it had issues with the FishShell before this official release but that&#x27;s fixed now.<p>I&#x27;ve also built this into a remote programming Docker image: <a href="https:&#x2F;&#x2F;hub.docker.com&#x2F;r&#x2F;danielpclark&#x2F;ruby-pair&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hub.docker.com&#x2F;r&#x2F;danielpclark&#x2F;ruby-pair&#x2F;</a>
a-b超过 8 年前
I&#x27;m wondering how many folks are using g&amp; command ;)<p>It works great considering that<p><pre><code> :s&#x2F;&#x2F;new_pattern&#x2F;g </code></pre> will search for last<p><pre><code> &#x2F;old_pattern</code></pre>
CaliforniaKarl超过 8 年前
I use Vim 8 (via MacVim) every day, but I&#x27;m definitely not at an advanced level!<p>I&#x27;d say the most advanced stuff I do is gqap, and performing substitutions via regex, either with a range or in visual mode.<p>I&#x27;d appreciate suggestions as to the best path to take, to move to a more advanced level of Vim 8. (Note I mention Vim 8 explicitly. Also, if extending my existing vimrc becomes a thing to do, I&#x27;d want to do it myself, learning what each not does!)
评论 #13611772 未加载
评论 #13608784 未加载
_nato_超过 8 年前
Long-time vi[m] user, and always learning&#x2F;amazement. This very morning I learned about the `-c` flag. So, `vim -c &quot;set spell&quot; my-misspelled-file.txt` starts up vim with a given setting.
评论 #13614385 未加载
YeGoblynQueenne超过 8 年前
Vimscript now has lambdas and closures!<p>Also:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;idanarye&#x2F;vim-smile" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;idanarye&#x2F;vim-smile</a><p>Vim now has a &quot;:smile&quot; command :D
评论 #13611789 未加载
adtac超过 8 年前
I wonder if we&#x27;ll see software this timeless ever again.
评论 #13608567 未加载