Perforce changing the default editor
问题 I use perforce for my revision control, when I hit 'p4 change' it always opens up the list on emacs, and we all know the pain of deleting text in it. How do i change it to gedit or vim or anything else? My default text editor is gedit. 回答1: On the command line, set P4EDITOR either as an environment variable or in the P4CONFIG file. 回答2: From the command line, p4 set P4EDITOR="C:\File Editor\editor.exe" You can test that this was successfull by running the following command after, which should