出现Press ENTER or type command to continue的原因
2013-05-09 00:47
1331 查看
来到这里相信都对设置.vimrc是做什么的有一定的了解。我也不是很清楚,据了解,是打开vim编辑器编程前会先调用.vimrc里面的指令,所以可以事先在里面设置一番。
用vim开文件后,出现了Press ENTER or type command to continue,是一件恼火的事情,肯定会急着找方法消除,结果百度谷歌都不一定找到。
其实原因简单到让人吐血,就是.vimrc里面设置的指令出现了错误,只要把错误的指令清除就好了!!!不过要知道.vimrc是要在根目录下才行。
以root身份登录后执行如下指令:
cd
vim .vimrc
(进入后)
set nu
...(设置,如果指令错误,会出现标题的情况)
(设置完后保存退出)
Ese
:wq
相关文章推荐
- "ifcfg-eth0" E212: Can't open file for writing Press ENTER or type command to continue
- vi编辑文件保存后,提示“Can't open file for writing Press ENTER or type command to continue”
- linux 机器出现or type control d to continue问题的处理办法
- continue to wait, or press S to skip mounting or M for manual recovery
- linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法
- svnant的BUILD FAILED Problem: failed to create task or type svnSetting Cause: The name is undefined原因
- VC_VC2010打开调试单个CPP文件的COUT时候不会出现press any key to continue
- How to disable “Type <return> to continue, or q <return> to quit” in gdb?
- ling to sql 中出现错误“已有打开的与此 Command 相关联的 DataReader,必须首先将它关闭”原因及解决方法
- 使用串口线时smit出现Set TERM to an appropriate terminal type or use another terminal.
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- 如何让VS.net中的控制台程序出现Press any key to continue字样?
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- 关于type return to continue,or q <return> to quit
- python字符串和变量相加时出现,coercing to unicode need string or buffer nonetype found python 错误的解决
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- vs下c++中main _tmain以及控制台程序结束后不出现press any key to continue问题
- 超级终端连接开发板出现Please press Enter to activate this console的问题
- 电脑开机出现 To interrupt normal post,press enter 处理办法
- 【linux】U盘安装启动出现press the enter key to begin the installation process 就不动弹了