Modified ctrl-p default behaviour.