Add p4 function. Change vim buffer plugin