Move compile bindings into the use-package sexp
This commit is contained in:
parent
642c97bc64
commit
bd2af81bac
@ -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))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user