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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is in your vimrc?

8 点作者 vijaydev超过 15 年前

3 条评论

thristian超过 15 年前
I've been using Vim for over ten years now, across several jobs and platforms and tasks, so my .vimrc and .gvimrc have gathered quite a bit of cruft. I keep them in a git repository along with my various other generically useful config files, and just check them out on each new machine I get an account on.<p>There's too much stuff in these files to describe what everything does, but there's a lot of comments, so along with the Vim online help you should be able to figure everything out:<p>.vimrc: <a href="http://paste.ubuntu.com/270714/" rel="nofollow">http://paste.ubuntu.com/270714/</a><p>.gvimrc: <a href="http://paste.ubuntu.com/270716/" rel="nofollow">http://paste.ubuntu.com/270716/</a><p>Highlights include a single key-binding for stepping through every buffer in every tab, consistent mouse-handling between console-vim and gvim, and code to automatically make gvim inherit the GNOME default monospace font.
elmindreda超过 15 年前
Mine are entirely without comments, but on the off chance that they'll be useful:<p>.vimrc: <a href="http://paste.ubuntu.com/270777/" rel="nofollow">http://paste.ubuntu.com/270777/</a> .gvimrc: <a href="http://paste.ubuntu.com/270778/" rel="nofollow">http://paste.ubuntu.com/270778/</a>
dragonquest超过 15 年前
I keep a very simple vimrc file with minimal customization. Note however that I'm a beginner with Vim, so my customizations end with what "just works" with minimum pain for me.<p><pre><code> set nobackup set clipboard=unnamed set number set tabstop=4 set shiftwidth=4 set expandtab colorscheme oceandeep</code></pre>
评论 #821406 未加载