Move platformio keybindings to local leader
This commit is contained in:
parent
fdf2bc63a6
commit
34af171ca3
|
@ -37,7 +37,7 @@
|
|||
;; Keybindings for PlatformIO
|
||||
(map! :after platformio-mode
|
||||
:map platformio-mode-map
|
||||
(:leader
|
||||
(:localleader
|
||||
:desc "Compile the project" "c c" #'platformio-build
|
||||
:desc "Upload the project" "c u" #'platformio-upload
|
||||
:desc "Monitor the serial console" "c m" #'platformio-device-monitor))
|
||||
|
|
2
+ui.el
2
+ui.el
|
@ -59,4 +59,4 @@
|
|||
;; Decrease size of icons in the modeline
|
||||
(setq all-the-icons-scale-factor 1.0)
|
||||
;; Increase size of the PlatformIO compilation buffer
|
||||
(set-popup-rule! "*platformio*" :size 0.25 :vslot -4 :select t :quit nil :ttl 0)
|
||||
(set-popup-rule! "*platformio*" :size 0.25 :vslot -4 :select t :quit t :ttl 0)
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
(get-buffer-create "*compilation*"))
|
||||
(message "No Compilation Errors!")))))
|
||||
;; Map leader key for major mode to ,
|
||||
(setq evil-snipe-override-evil-repeat-keys nil)
|
||||
(setq doom-localleader-key ",")
|
||||
;; Disable company mode in Nix
|
||||
(setq-hook! 'nix-mode-hook company-idle-delay nil)
|
||||
|
|
Loading…
Reference in New Issue