您的位置:首页 > 其它

vim -y 无法正常工作解决方法

2011-12-06 15:32 344 查看
Arguments:

   --                   Only file names after this

   -v                   Vi mode (like "vi")

   -e                   Ex mode (like "ex")

   -s                   Silent (batch) mode (only for "ex")

   -y                   Easy mode (like "evim", modeless)

   -R                   Readonly mode (like "view")

   -Z                   Restricted mode (like "rvim")

   -m                   Modifications (writing files) not allowed

   -M                   Modifications in text not allowed

   -b                   Binary mode

   -C                   Compatible with Vi: 'compatible'

   -N                   Not fully Vi compatible: 'nocompatible'

   -V
[fname]         Be verbose [level N] [log messages to fname]

   -n                   No swap file, use memory only

   -r                   List swap files and exit

   -r (with file name)  Recover crashed session

   -L                   Same as -r

   -T <terminal>        Set terminal type to <terminal>

   -u <vimrc>           Use <vimrc> instead of any .vimrc

   --noplugin           Don't load plugin scripts

   +                    Start at end of file

   +<lnum>              Start at line <lnum>

   --cmd <command>      Execute <command> before loading any vimrc file

   -c <command>         Execute <command> after loading the first file

   -S <session>         Source file <session> after loading the first file

   -s <scriptin>        Read Normal mode commands from file <scriptin>

   -w <scriptout>       Append all typed commands to file <scriptout>

   -W <scriptout>       Write all typed commands to file <scriptout>

   -h  or  --help       Print Help (this message) and exit

   --version            Print version information and exit

 

 

-y 选项执行时,需要 evim.vim 文件支持, 只要给全局变量 VIMRUNTIME 赋值即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息