P4EDITOR is set to gvim in .p4enviro.
When run command p4 client in terminal, it will pop an empty tmp file.
But if change editor config to P4EDITOR=vim, it works fine.
How to fix this?

  • Read the help at :h -f – Christian Brabandt Aug 24 '18 at 12:09
  • @ChristianBrabandt, Yes, after adding -f, gvim works fine. Will you turn comment to answer? – Fisher Aug 24 '18 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.