add ctrl-p stuff, only use it under git-repo