Skip to content

Commit

Permalink
Added more keybindings to p4
Browse files Browse the repository at this point in the history
  • Loading branch information
snandan authored and syl20bnr committed May 10, 2015
1 parent 2ab2725 commit 6793eda
Showing 1 changed file with 84 additions and 6 deletions.
90 changes: 84 additions & 6 deletions contrib/tools/perforce/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,94 @@
(defun perforce/init-p4 ()
(use-package p4
:commands (p4-add
p4-delete
p4-branch
p4-branches
p4-client
p4-changes
p4-diff2
p4-describe
p4-edit
p4-revert)
p4-reopen
p4-depot-find-file
p4-filelog
p4-files
p4-get-client-name
p4-update
p4-help
p4-have
p4-info
p4-integ
p4-job
p4-jobs
p4-label
p4-labels
p4-labelsync
p4-move
p4-opened
p4-print
p4-set-p4-port
quit-window
p4-revert
p4-refresh
p4-resolve
p4-status
p4-submit
p4-toggle-vc-mode
p4-user
p4-users
p4-version
p4-annotate
p4-where
p4-delete
p4-fix
p4-reconcile
p4-diff
p4-diff-all-opened
p4-ediff)
:init
(evil-leader/set-key
"p4a" 'p4-add
"p4d" 'p4-delete
"p4b" 'p4-branch
"p4B" 'p4-branches
"p4c" 'p4-client
"p4C" 'p4-changes
"p4d" 'p4-diff2
"p4D" 'p4-describe
"p4e" 'p4-edit
"p4R" 'p4-revert
"p4r" 'p4-rename
"p4S" 'p4-submit)))
"p4E" 'p4-reopen
"p4@" 'p4-depot-find-file
"p4f" 'p4-filelog
"p4F" 'p4-files
"p4G" 'p4-get-client-name
"p4g" 'p4-update
"p4h" 'p4-help
"p4H" 'p4-have
"p4i" 'p4-info
"p4I" 'p4-integ
"p4j" 'p4-job
"p4J" 'p4-jobs
"p4l" 'p4-label
"p4L" 'p4-labels
"p4:" 'p4-labelsync
"p4m" 'p4-move
"p4o" 'p4-opened
"p4p" 'p4-print
"p4P" 'p4-set-p4-port
"p4q" 'quit-window
"p4r" 'p4-revert
"p4R" 'p4-refresh
"p4y" 'p4-resolve
"p4s" 'p4-status
"p4S" 'p4-submit
"p4t" 'p4-toggle-vc-mode
"p4u" 'p4-user
"p4U" 'p4-users
"p4v" 'p4-version
"p4V" 'p4-annotate
"p4w" 'p4-where
"p4x" 'p4-delete
"p4X" 'p4-fix
"p4z" 'p4-reconcile
"p4=" 'p4-diff
"p4+" 'p4-diff-all-opened
"p4-" 'p4-ediff)))

0 comments on commit 6793eda

Please sign in to comment.