Perforce changing the default editor

前端 未结 6 1097
轮回少年
轮回少年 2021-02-20 14:20

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 ged

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-20 14:40

    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 launch your desired editor.

    p4 workspace

提交回复
热议问题