V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jdhao
V2EX  ›  Vim

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

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