diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-19 13:57:40 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-19 13:57:40 -0800 |
commit | 860ca7a7a262feeef05658440ad299281981fcbc (patch) | |
tree | 6faa3bc3182aac8a9a26338f0b0dd21f36361456 /emacs.d/core/core-bindings.el | |
parent | [emacs] Fix regexp to set python-mode for aurora (diff) | |
download | emacs.d-860ca7a7a262feeef05658440ad299281981fcbc.tar.gz |
[emacs] Add a function to jump to a BUILD file.
When working on code at Twitter, I regularly need to jump to the associated BUILD file. The function `fcuny/jump-to-build-file` open the related BUILD file if it exists in a new buffer. Bind this function to "C-c t" for now.
Diffstat (limited to 'emacs.d/core/core-bindings.el')
-rw-r--r-- | emacs.d/core/core-bindings.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs.d/core/core-bindings.el b/emacs.d/core/core-bindings.el index 377b89c..a9d1b4d 100644 --- a/emacs.d/core/core-bindings.el +++ b/emacs.d/core/core-bindings.el @@ -8,4 +8,6 @@ (global-set-key (kbd "s-N") 'fcuny/switch-to-scratch) +(global-set-key (kbd "C-c t") 'fcuny/jump-to-build-file) + (provide 'core-bindings) |