Archive for the 'perforce' Category

tip: perforce + vi configuration

If you use Perforce (i.e. the ‘p4′ command line app) and you use Vim as your P4EDITOR then try this (on Windows):

p4 set “P4EDITOR=C:\PROGRA~1\Vim\vim63\gvim.exe +0 +/<enter\|^>>>>\|^====\|^<<<<\|^\t +nohlsearch”

(presuming that you have installed Vim 6.3 to the default location) and/or this (for Bash shell users on Linux/Un*x):

export P4EDITOR=’vim +0 “+/<enter\|^>>>>\|^====\|^<<<<\|^\t” +nohlsearch’

This has Vim jump to the <enter […]