mirror of
https://github.com/Foltik/dotfiles
synced 2025-01-09 09:16:49 -05:00
Add "b" prefix for building/running in major-mode-map
This commit is contained in:
parent
7c48fdd049
commit
2f0a81dcb3
@ -1211,9 +1211,9 @@ cdlatex adds better TeX-specific template expansions and other niceties.
|
|||||||
:general
|
:general
|
||||||
(jf-major-def
|
(jf-major-def
|
||||||
:keymaps 'rust-mode-map
|
:keymaps 'rust-mode-map
|
||||||
"b" #'cargo-process-build
|
"b b" #'cargo-process-build
|
||||||
"r" #'cargo-process-run
|
"b r" #'cargo-process-run
|
||||||
"t" #'cargo-process-test))
|
"b t" #'cargo-process-test))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** C/C++
|
*** C/C++
|
||||||
**** Irony
|
**** Irony
|
||||||
@ -1268,5 +1268,13 @@ for all of the IDE like features.
|
|||||||
The std:: java build system
|
The std:: java build system
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package gradle-mode
|
(use-package gradle-mode
|
||||||
:commands gradle-mode)
|
:commands gradle-mode
|
||||||
|
:preface
|
||||||
|
(defun jf-gradle-run-main ()
|
||||||
|
(gradle-execute "run"))
|
||||||
|
:general
|
||||||
|
(jf-major-def
|
||||||
|
:keymaps 'gradle-mode-map
|
||||||
|
"b b" #'gradle-build
|
||||||
|
"b r" #'jf-gradle-run-main))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user