找回密码
 注册
查看: 833|回复: 1

vim 有没有代码模板功能?

[复制链接]
发表于 2003-10-28 22:24:59 | 显示全部楼层 |阅读模式
写代码经常要做重复性的劳动,for example:

#!/usr/bin/perl

use strict;


能不能写一个模板,每次写代码加载这个模板就可以了?
发表于 2003-10-30 00:58:52 | 显示全部楼层
Try this plugin:
http://vim.sourceforge.net/scripts/script.php?script_id=198

template file loader : Loads a template file and does customizable processing when editing a new file.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-23 10:08 , Processed in 0.077576 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表