[问题] VIM 可以不可以把 命令保存在文件里,然后执行文件从而达到批命令处理?
-
- 帖子: 98
- 注册时间: 2008-01-03 15:19
- bones7456
- 帖子: 8495
- 注册时间: 2006-04-12 20:05
- 来自: 杭州
- 联系:
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
自己在vimrc写一个函数。其中用source函数引入进来。
我一般是这样子,用vim生成我想要的工程,然后每个工程里面有个vimpro的文件,负责自己工程相应的函数,比如缩进,autocmd,编译,tag之类的函数都可以放在这儿。
具体的看帮助
我一般是这样子,用vim生成我想要的工程,然后每个工程里面有个vimpro的文件,负责自己工程相应的函数,比如缩进,autocmd,编译,tag之类的函数都可以放在这儿。
具体的看帮助
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/