diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1209ef7..0ee8749 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -25,8 +25,6 @@ auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) ;;;; keybinds -(global-set-key (kbd "C-z") `recompile) -(global-set-key (kbd "C-S-z") `compile) (when (fboundp 'windmove-default-keybindings) (windmove-default-keybindings)) @@ -58,6 +56,9 @@ (setq ibuffer-show-empty-filter-groups nil)))) (use-package compile + :commands (compile recompile) + :bind ("C-z" . recompile) + :bind ("C-S-z" . compile) :config (add-hook 'compilation-start-hook (lambda (x) (setq-local scroll-up-aggressively 0))))