More consistent spacing between init.el sections
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
(setq custom-file (locate-user-emacs-file "custom-vars.el"))
|
(setq custom-file (locate-user-emacs-file "custom-vars.el"))
|
||||||
|
|
||||||
;;; Elpaca package manager
|
;;; Elpaca package manager
|
||||||
|
|
||||||
(defvar elpaca-installer-version 0.7)
|
(defvar elpaca-installer-version 0.7)
|
||||||
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
||||||
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
|
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
|
||||||
@@ -134,17 +133,20 @@
|
|||||||
("p" . previous-buffer)
|
("p" . previous-buffer)
|
||||||
:repeat-map kmacro-repeat-map
|
:repeat-map kmacro-repeat-map
|
||||||
(")" . kmacro-end-or-call-macro)))
|
(")" . kmacro-end-or-call-macro)))
|
||||||
|
|
||||||
;;;; which-key
|
;;;; which-key
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(which-key-mode)
|
(which-key-mode)
|
||||||
(which-key-setup-side-window-bottom))
|
(which-key-setup-side-window-bottom))
|
||||||
|
|
||||||
;;;; Mac modifier keys
|
;;;; Mac modifier keys
|
||||||
;; Use right-option as regular option on Mac
|
;; Use right-option as regular option on Mac
|
||||||
(setq ns-alternate-modifier 'meta)
|
(setq ns-alternate-modifier 'meta)
|
||||||
(setq ns-right-alternate-modifier 'none)
|
(setq ns-right-alternate-modifier 'none)
|
||||||
(setq ns-right-command-modifier 'meta)
|
(setq ns-right-command-modifier 'meta)
|
||||||
|
|
||||||
;;; Editing
|
;;; Editing
|
||||||
;;;; MWIM
|
;;;; MWIM
|
||||||
(use-package mwim
|
(use-package mwim
|
||||||
@@ -536,7 +538,6 @@
|
|||||||
;; Make project.el recognize directories with a .project file as project roots
|
;; Make project.el recognize directories with a .project file as project roots
|
||||||
(add-to-list 'project-vc-extra-root-markers ".project"))
|
(add-to-list 'project-vc-extra-root-markers ".project"))
|
||||||
|
|
||||||
|
|
||||||
;;;; hl-todo
|
;;;; hl-todo
|
||||||
(use-package hl-todo
|
(use-package hl-todo
|
||||||
:ensure t
|
:ensure t
|
||||||
@@ -652,7 +653,6 @@
|
|||||||
(progn
|
(progn
|
||||||
(message "Failed to find saved screenshot.")))))
|
(message "Failed to find saved screenshot.")))))
|
||||||
|
|
||||||
|
|
||||||
;;; (Ma)git
|
;;; (Ma)git
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:after seq
|
:after seq
|
||||||
@@ -764,6 +764,7 @@
|
|||||||
:commands lsp-ui-mode
|
:commands lsp-ui-mode
|
||||||
:custom
|
:custom
|
||||||
(lsp-ui-sideline-show-diagnostics nil))
|
(lsp-ui-sideline-show-diagnostics nil))
|
||||||
|
|
||||||
;;;; Flycheck
|
;;;; Flycheck
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:ensure t
|
:ensure t
|
||||||
@@ -778,6 +779,7 @@
|
|||||||
(use-package nix-mode
|
(use-package nix-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:mode "\\.nix\\'")
|
:mode "\\.nix\\'")
|
||||||
|
|
||||||
;;;; Lisp
|
;;;; Lisp
|
||||||
(if (string-match "x86_64-apple" system-configuration)
|
(if (string-match "x86_64-apple" system-configuration)
|
||||||
;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
|
;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
|
||||||
@@ -792,6 +794,7 @@
|
|||||||
(use-package parinfer-rust-mode
|
(use-package parinfer-rust-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook emacs-lisp-mode))
|
:hook emacs-lisp-mode))
|
||||||
|
|
||||||
;;; Eshell
|
;;; Eshell
|
||||||
;;;; Eshell
|
;;;; Eshell
|
||||||
(use-package eshell
|
(use-package eshell
|
||||||
|
|||||||
Reference in New Issue
Block a user