Skip to content

Commit

Permalink
tweak(bitbake): tailor bitbake modes and add keybindings
Browse files Browse the repository at this point in the history
Signed-off-by: Abdelhak Bougouffa <abougouffa@fedoraproject.org>
  • Loading branch information
abougouffa committed Dec 14, 2023
1 parent 6b3b4cc commit f0e38c7
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion modules/me-embedded.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,25 @@
:hook (arduino-mode . hs-minor-mode))

(use-package bitbake-modes
:straight (:host bitbucket :repo "olanilsson/bitbake-modes"))
:straight (:host bitbucket :repo "olanilsson/bitbake-modes")
:config
(+map-local! :keymaps 'bitbake-mode-map
"i" '(nil "insert/edit")
"ii" #'bitbake-inc-pr
"b" #'bitbake-recipe-build-dir-dired))

(use-package bitbake-electric
:hook (bitbake-mode . bitbake-electric-mode))

(use-package bitbake-insert
:after bitbake
:demand t
:config
(+map-local! :keymaps 'bitbake-mode-map
"i" '(nil "insert/edit")
"iv" #'bitbake-insert-var
"ia" #'bitbake-append-var
"io" #'bitbake-insert-override))

(use-package mips-mode
:straight t)
Expand Down

0 comments on commit f0e38c7

Please sign in to comment.