V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
SpaceVim
V2EX  ›  Vim

使用 Vim 新建文件时,自动添加文件头

  •  
  •   SpaceVim · 2019-09-05 21:09:18 +08:00 · 3451 次点击
    这是一个创建于 1666 天前的主题,其中的信息可能已经有所发展或是发生改变。
    刚刚在知乎上简单写了这一功能使用,有兴趣朋友可以了解下,谢谢!

    https://zhuanlan.zhihu.com/p/81269979
    3 条回复    2019-09-30 10:24:49 +08:00
    ivechan
        1
    ivechan  
       2019-09-12 16:26:32 +08:00
    感觉用 snippets 更加灵活一点。
    jelick
        2
    jelick  
       2019-09-16 09:32:32 +08:00
    推荐你使用 snippets
    https://github.com/SirVer/ultisnips
    ahonn
        3
    ahonn  
       2019-09-30 10:24:49 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2865 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:36 · PVG 19:36 · LAX 04:36 · JFK 07:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.