jdhao
V2EX  ›  Vim

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

  •  
  •   jdhao · Aug 17, 2019 · 4229 views
    This topic created in 2655 days ago, the information mentioned may be changed or developed.

    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. 🐶️

    9 replies  •  2019-08-17 15:45:25 +08:00
    BreezeInWind
    BreezeInWind
    Aug 17, 2019 via Android
    1
    wo kan bu dong
    jdhao
    jdhao
    OP
    Aug 17, 2019
    2
    @hedamao9999 ni ying gai ti gao zi ji de zi shi shui ping le 🐶️
    20015jjw
    20015jjw
    Aug 17, 2019 via Android
    3
    看了一眼俩语法错误不想看了打扰了
    tamlok
    tamlok
    Aug 17, 2019 via Android
    4
    当配置文件太长的时候,应该是拆分文件,而不是折叠啊!
    114514
    114514
    Aug 17, 2019 via Android
    5
    hen good,wo really kanbudong, but i just go to shoucang😂
    leafre
    leafre
    Aug 17, 2019
    6
    u r white eat!
    no three no four!
    jdhao
    jdhao
    OP
    Aug 17, 2019
    7
    @tamlok 拆分文件太麻烦了,我像尽可能维护一个文件
    jdhao
    jdhao
    OP
    Aug 17, 2019
    8
    @leafre 滚
    tamlok
    tamlok
    Aug 17, 2019 via Android
    9
    @jdhao 看你配置的体量吧,写个 acm 就单个文件没问题,写个大工程肯定讲究模块化
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2790 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 00:39 · PVG 08:39 · LAX 16:39 · JFK 19:39
    ♥ Do have faith in what you're doing.