vim Sessions
来源:互联网 发布:java监听端口接收数据 编辑:程序博客网 时间:2024/05/21 09:58
1 The following command creates a session file:
:mksession file
2 Later if you want to resotre this session,you can use this command:
:source file
3 If you want to start vim and restore a specific session,you can use the following command:
$:vim -c ":source file"
4 The 'sessionoption' option controls what is saved in a session file.It is a string of keywords separeted
by commas.For example,the default 'sessionoptions' setting is as follows:
:set sessionoptions = buffers,winsize,options,help,blank
The various keywords are
buffers
globals
help The help window
blank Any blank windows on the screen
options
winpos
resize
winsize
slash Replace backslashes in filenames with forward slashes.This option is useful if
you share session files betwwen UNIX and MIcrosoft Windows
unix Write out the file using the UNIX end-of-line format.This makes the session portable between UNIX and Microsoft Windows
- vim Sessions
- play of vim Save and use vim sessions
- JSP Sessions
- PHP Sessions
- Zkoss Sessions
- PHP Sessions
- PHP Sessions
- PHP Sessions
- PHP Sessions
- PHP----Sessions
- PHP Sessions
- PHP Sessions
- cookie & sessions
- PHP - Sessions
- PHP Sessions
- PHP Sessions
- Locks tree sessions
- Complete sessions information
- 教你玩转微博
- SET NOCOUNT ON
- CSS3 之媒体查询Media Query
- 使用eclipse快速搭建erlang开发环境
- 再议静态全局变量、静态局部变量、全局变量存在内存的区域,
- vim Sessions
- 基于jquery的has()方法以及与find()方法以及filter()方法的区别详解
- 宇龙酷派202笔试题
- 实现输出一个数字的二进制表示
- C语言小结(二)
- C++ 中使用memset和memcpy 对字符串和字符串数组处理
- ADC
- Linux下软件安装方法总结
- 关于全局变量在头文件中声明的问题 ctrl-c from凌阳—浩哥