# Perforce contribution layer for Spacemacs ![logo](img/p4.png) **Table of Contents** - [Perforce contribution layer for Spacemacs](#perforce-contribution-layer-for-spacemacs) - [Description](#description) - [Install](#install) - [Key bindings](#key-bindings) ## Description This layer adds support for [Perforce][] (p4). ## Install To use this contribution add it to your `~/.spacemacs` ```elisp (setq-default dotspacemacs-configuration-layers '(perforce)) ``` You'll have to install the `p4`` command line, [download page][]. Don't forget to setup the environment variables: - `P4_PORT` - `P4_CLIENT` - `P4_USER` - `P4_PASSWD` ## Key bindings Key Binding | Description ---------------------|------------------------------------------------------------ SPC p 4 a | add a file in depot SPC p 4 d | delete a file in depot SPC p 4 D | p4-describe SPC p 4 e | checkout a file SPC p 4 r | rename a file SPC p 4 R | revert a file SPC p 4 S | submit CL [Perforce]: http://www.perforce.com/ [download page]: http://www.perforce.com/downloads