diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-19 16:26:05 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-19 16:26:05 -0800 |
commit | 4f687f22f6656e38c76158ed91216a70822fd9f3 (patch) | |
tree | 7c62d954ca2749fa9c1538907806fe044b7f3adb /emacs.d/core/core-bindings.el | |
parent | [emacs] Add a function to jump to a BUILD file. (diff) | |
download | emacs.d-4f687f22f6656e38c76158ed91216a70822fd9f3.tar.gz |
[emacs] More code related to pants
Rename the function `jump-to-build-file` to `find-build-file`. Add a function to run a target from the build file. This function searches for the BUILD file, and if one is found, will propose a list of targets to run (for now, only the "binary" goal is supported).
Diffstat (limited to 'emacs.d/core/core-bindings.el')
-rw-r--r-- | emacs.d/core/core-bindings.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs.d/core/core-bindings.el b/emacs.d/core/core-bindings.el index a9d1b4d..53bc847 100644 --- a/emacs.d/core/core-bindings.el +++ b/emacs.d/core/core-bindings.el @@ -8,6 +8,8 @@ (global-set-key (kbd "s-N") 'fcuny/switch-to-scratch) -(global-set-key (kbd "C-c t") 'fcuny/jump-to-build-file) +(global-set-key (kbd "C-c b") 'fcuny/find-build-file) + +(global-set-key (kbd "C-c r") 'fcuny/build-run-target) (provide 'core-bindings) |