Add compile bindings, fix rust-mode-hook.
This commit is contained in:
@@ -98,9 +98,14 @@
|
|||||||
|
|
||||||
;; Windmove family of commands allow easy navigation when there is more than two
|
;; Windmove family of commands allow easy navigation when there is more than two
|
||||||
;; buffers on screen.
|
;; buffers on screen.
|
||||||
(global-set-key (kbd "C-S-<left>") 'windmove-left)
|
(keymap-global-set "C-S-<left>" 'windmove-left)
|
||||||
(global-set-key (kbd "C-S-<right>") 'windmove-right)
|
(keymap-global-set "C-S-<right>" 'windmove-right)
|
||||||
(global-set-key (kbd "C-S-<up>") 'windmove-up)
|
(keymap-global-set "C-S-<up>" 'windmove-up)
|
||||||
(global-set-key (kbd "C-S-<down>") 'windmove-down)
|
(keymap-global-set "C-S-<down>" 'windmove-down)
|
||||||
|
|
||||||
|
;; Compile command allows to easily run noninteractive commands, among other
|
||||||
|
;; things, like, you know, compiling stuff.
|
||||||
|
(keymap-global-set "C-c l" 'compile)
|
||||||
|
(keymap-global-set "C-c C-l" 'recompile)
|
||||||
|
|
||||||
;;; 05-basic.el ends here
|
;;; 05-basic.el ends here
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
(setq sweeprolog-swipl-path "swipl")
|
(setq sweeprolog-swipl-path "swipl")
|
||||||
(add-to-list 'auto-mode-alist '("\\.plt?\\'" . sweeprolog-mode)))
|
(add-to-list 'auto-mode-alist '("\\.plt?\\'" . sweeprolog-mode)))
|
||||||
|
|
||||||
(add-hook 'rust-mode-hook #'eglot)
|
(add-hook 'rust-mode-hook #'eglot-ensure)
|
||||||
|
|
||||||
;; Nix language
|
;; Nix language
|
||||||
(use-package nix-mode
|
(use-package nix-mode
|
||||||
|
|||||||
Reference in New Issue
Block a user