Add 'SPC p $' to run multi-term at project root

This commit is contained in:
Tony Lotts 2015-05-08 17:47:16 -04:00 committed by syl20bnr
parent f77035da9a
commit a8e7870ae0
2 changed files with 6 additions and 0 deletions

View file

@ -872,3 +872,8 @@ If ASCII si not provided then UNICODE is used instead."
(delete-region (point-min) (point-max))
(clipboard-yank)
(deactivate-mark))
(defun projectile-multi-term-in-root ()
"Invoke `multi-term' in the project's root."
(interactive)
(projectile-with-default-dir (projectile-project-root) (multi-term)))

View file

@ -2534,6 +2534,7 @@ It is a string holding:
"ps" 'projectile-switch-project))
(evil-leader/set-key
"p!" 'projectile-run-shell-command-in-root
"p$" 'projectile-multi-term-in-root
"p&" 'projectile-run-async-shell-command-in-root
"pc" 'projectile-compile-project
"pD" 'projectile-dired