Move platformio keybindings to local leader

This commit is contained in:
coolneng 2023-04-10 22:37:39 +02:00
parent fdf2bc63a6
commit 34af171ca3
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@
;; Keybindings for PlatformIO ;; Keybindings for PlatformIO
(map! :after platformio-mode (map! :after platformio-mode
:map platformio-mode-map :map platformio-mode-map
(:leader (:localleader
:desc "Compile the project" "c c" #'platformio-build :desc "Compile the project" "c c" #'platformio-build
:desc "Upload the project" "c u" #'platformio-upload :desc "Upload the project" "c u" #'platformio-upload
:desc "Monitor the serial console" "c m" #'platformio-device-monitor)) :desc "Monitor the serial console" "c m" #'platformio-device-monitor))

2
+ui.el
View File

@ -59,4 +59,4 @@
;; Decrease size of icons in the modeline ;; Decrease size of icons in the modeline
(setq all-the-icons-scale-factor 1.0) (setq all-the-icons-scale-factor 1.0)
;; Increase size of the PlatformIO compilation buffer ;; 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)

View File

@ -46,6 +46,7 @@
(get-buffer-create "*compilation*")) (get-buffer-create "*compilation*"))
(message "No Compilation Errors!"))))) (message "No Compilation Errors!")))))
;; Map leader key for major mode to , ;; Map leader key for major mode to ,
(setq evil-snipe-override-evil-repeat-keys nil)
(setq doom-localleader-key ",") (setq doom-localleader-key ",")
;; Disable company mode in Nix ;; Disable company mode in Nix
(setq-hook! 'nix-mode-hook company-idle-delay nil) (setq-hook! 'nix-mode-hook company-idle-delay nil)