How to properly fold the Vim/Neovim configuration (如何折叠 Vim 或 Nvim 的配置文件)

2019-08-17 10:14:10 +08:00
 jdhao

I have written a post on how to properly fold the Vim or Neovim configuration files. Folding is especially useful when your configuration goes too long (1000+ lines).

Click here to read the post. Hope you enjoy it. 🐶️

3178 次点击
所在节点    Vim
9 条回复
BreezeInWind
2019-08-17 10:27:10 +08:00
wo kan bu dong
jdhao
2019-08-17 10:30:29 +08:00
@hedamao9999 ni ying gai ti gao zi ji de zi shi shui ping le 🐶️
20015jjw
2019-08-17 12:55:35 +08:00
看了一眼俩语法错误不想看了打扰了
tamlok
2019-08-17 13:30:23 +08:00
当配置文件太长的时候,应该是拆分文件,而不是折叠啊!
114514
2019-08-17 14:03:52 +08:00
hen good,wo really kanbudong, but i just go to shoucang😂
leafre
2019-08-17 14:09:22 +08:00
u r white eat!
no three no four!
jdhao
2019-08-17 14:36:43 +08:00
@tamlok 拆分文件太麻烦了,我像尽可能维护一个文件
jdhao
2019-08-17 14:37:56 +08:00
@leafre
tamlok
2019-08-17 15:45:25 +08:00
@jdhao 看你配置的体量吧,写个 acm 就单个文件没问题,写个大工程肯定讲究模块化

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/592638

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX