Jump to content

Vim/zh: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

20 November 2025

  • curprev 14:4714:47, 20 November 2025 Ardenet talk contribs 13,553 bytes −37 Created page with "对于 C/C++ 来说,比 youcompleteme 更好的替代方案是使用 [https://github.com/cquery-project/cquery/ cquery] 并结合 [https://github.com/autozimu/LanguageClient-neovim LanguageClient-neovim]。如果您从 nixpkgs 安装 cquery,它在 nix-shell 中使用时也能找到 C 头文件,因为它使用了一个自定义的 [https://github.com/NixOS/nixpkgs/commit/04f3b76dcec21f2fcba6b1b0afbb3ed224165050#diff-11cdfc0385b9e017089c1ac09c5b838e shell 包装器]。"
  • curprev 14:4614:46, 20 November 2025 Ardenet talk contribs 13,590 bytes −66 Created page with "目前 youcompleteme 插件在 Linux 上使用 [https://github.com/NixOS/nixpkgs/blob/8e7b1f2ac2e261d5a644fef860a0d050ea227c06/pkgs/misc/vim-plugins/default.nix#L695 unwrapped clang]。这导致它找不到 <code>stdlib.h</code>。您可以在您的 <code>.ycm_extra_conf.py</code> 文件中添加 [https://github.com/andrewrk/genesis/blob/5f49cd9a8c2b61b9859a22102bc3f732add9461a/.ycm_extra_conf.py 使其正常运行的示例],其工作原理是执行 C/C++ 编译器并..."
  • curprev 14:4314:43, 20 November 2025 Ardenet talk contribs 13,656 bytes −58 Created page with "# 以下插件为可选插件,它们提供类型检查、导入排序和代码格式化功能。"
  • curprev 14:4314:43, 20 November 2025 Ardenet talk contribs 13,714 bytes −55 Created page with "如果您需要在添加插件之前运行代码,可以使用 <code>vimrcConfig.beforePlugins</code>(如果您要覆盖 [https://github.com/NixOS/nixpkgs/blob/c3df8057dad986bf7f3928de1b5233fadb52bb15/pkgs/misc/vim-plugins/vim-utils.nix#L264-L267 默认值],请务必包含 <code>set nocompatible</code>)。"
  • curprev 14:4114:41, 20 November 2025 Ardenet talk contribs 13,769 bytes −49 Created page with "# 添加自定义的 .vimrc 行,例如:" Tags: Mobile edit Mobile web edit
  • curprev 14:4114:41, 20 November 2025 Ardenet talk contribs 13,818 bytes 0 No edit summary
  • curprev 14:4014:40, 20 November 2025 Ardenet talk contribs 13,818 bytes −66 Created page with "注意:您必须使用 <code>vimrcConfig.customRC</code> 而不是手动安装 <code>~/.vimrc</code>,因为自定义 Vim 会默默忽略您主目录中的任何 vimrc 文件。"
  • curprev 14:4014:40, 20 November 2025 Ardenet talk contribs 13,884 bytes −71 Created page with "在 nix 中对 vim 进行包管理和配置的大部分文档存储在 nixpkgs 的 [https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/vim.section.md] 中。"
  • curprev 14:3814:38, 20 November 2025 Ardenet talk contribs 13,955 bytes −153 Created page with "{{note|要了解如何在 Nix 系统中设置 Vim 的总体概述,请参阅 [https://www.mpscholten.de/nixos/2016/04/11/setting-up-vim-on-nixos.html mpscholten的博客]}}"
  • curprev 14:3514:35, 20 November 2025 Ardenet talk contribs 14,108 bytes −165 Created page with "* [https://github.com/wagnerf42/nixos-config/blob/master/config/my_vim.nix wagnerf42 的配置(适用于 Rust 语言)]" Tags: Mobile edit Mobile web edit
  • curprev 14:3314:33, 20 November 2025 Ardenet talk contribs 14,273 bytes −61 Created page with "然后将以下表达式添加到 `<code>environment.systemPackages</code>` 或 home-manager 包列表中,以安装 python-language-server:"
  • curprev 14:3214:32, 20 November 2025 Ardenet talk contribs 14,334 bytes −53 Created page with "以下代码片段将创建一个功能齐全的 python IDE。"
  • curprev 14:3214:32, 20 November 2025 Ardenet talk contribs 14,387 bytes −107 Created page with "然后我们可以使用 <code>nix flake lock --update-input winresizer-vim</code> 更新软件包,或者使用 <code>nix flake update</code> 更新 flake.nix 中的所有输入。"
  • curprev 14:3114:31, 20 November 2025 Ardenet talk contribs 14,494 bytes −136 Created page with "如需更多信息,您可以查看 [https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/vim.section.md nixpkgs 存储库上的文档]。" Tags: Mobile edit Mobile web edit
  • curprev 14:2914:29, 20 November 2025 Ardenet talk contribs 14,630 bytes −115 Created page with "这也是一个 pathogen 实现,但是原有插件启动速度较慢,而 [VAM] 具有更多功能。"
  • curprev 14:2714:27, 20 November 2025 Ardenet talk contribs 14,745 bytes −57 Created page with "# 要在打开文件类型时自动加载插件,请添加如下 vimrc 行:"
  • curprev 14:2714:27, 20 November 2025 Ardenet talk contribs 14,802 bytes −113 Created page with "# 可通过调用 `:packadd $plugin-name` 手动加载"
  • curprev 14:2614:26, 20 November 2025 Ardenet talk contribs 14,915 bytes −58 Created page with "您可以启用 <code>guiSupport</code> 来使 <code>gvim</code> 可用,但这不会让您获得 <code>gview</code>:"
  • curprev 14:2514:25, 20 November 2025 Ardenet talk contribs 14,973 bytes −114 Created page with "unstable 分支:"
  • curprev 14:2214:22, 20 November 2025 FuzzyBot talk contribs 15,087 bytes −12 Updating to match new version of source page

8 October 2025

7 October 2025