简体   繁体   English

Vim #extended

[英]Vim # expansion

I am using vim and perforce on a daily basis 我每天都在使用vim和perforce

Now my problem is that from vim in command mode if i want to check out a perforce file revision 现在我的问题是从vim命令模式,如果我想检查perforce文件修订版

:!p4 print file#1 :!p4打印文件#1

vim tries to get me the buffer #1. vim试图让我获得缓冲区#1。 Is there a way to disable vim expansion 有没有办法禁用vim扩展

Any suggestions Thanks in advance 任何建议提前谢谢

使用反斜杠转义# ::: :!p4 print file\\#1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM