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"))
|
||||
|
||||
;;; Elpaca package manager
|
||||
|
||||
(defvar elpaca-installer-version 0.7)
|
||||
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
|
||||
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
|
||||
@@ -134,17 +133,20 @@
|
||||
("p" . previous-buffer)
|
||||
:repeat-map kmacro-repeat-map
|
||||
(")" . kmacro-end-or-call-macro)))
|
||||
|
||||
;;;; which-key
|
||||
(use-package which-key
|
||||
:ensure t
|
||||
:init
|
||||
(which-key-mode)
|
||||
(which-key-setup-side-window-bottom))
|
||||
|
||||
;;;; Mac modifier keys
|
||||
;; Use right-option as regular option on Mac
|
||||
(setq ns-alternate-modifier 'meta)
|
||||
(setq ns-right-alternate-modifier 'none)
|
||||
(setq ns-right-command-modifier 'meta)
|
||||
|
||||
;;; Editing
|
||||
;;;; MWIM
|
||||
(use-package mwim
|
||||
@@ -536,7 +538,6 @@
|
||||
;; Make project.el recognize directories with a .project file as project roots
|
||||
(add-to-list 'project-vc-extra-root-markers ".project"))
|
||||
|
||||
|
||||
;;;; hl-todo
|
||||
(use-package hl-todo
|
||||
:ensure t
|
||||
@@ -652,7 +653,6 @@
|
||||
(progn
|
||||
(message "Failed to find saved screenshot.")))))
|
||||
|
||||
|
||||
;;; (Ma)git
|
||||
(use-package magit
|
||||
:after seq
|
||||
@@ -764,6 +764,7 @@
|
||||
:commands lsp-ui-mode
|
||||
:custom
|
||||
(lsp-ui-sideline-show-diagnostics nil))
|
||||
|
||||
;;;; Flycheck
|
||||
(use-package flycheck
|
||||
:ensure t
|
||||
@@ -778,6 +779,7 @@
|
||||
(use-package nix-mode
|
||||
:ensure t
|
||||
:mode "\\.nix\\'")
|
||||
|
||||
;;;; Lisp
|
||||
(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
|
||||
@@ -792,6 +794,7 @@
|
||||
(use-package parinfer-rust-mode
|
||||
:ensure t
|
||||
:hook emacs-lisp-mode))
|
||||
|
||||
;;; Eshell
|
||||
;;;; Eshell
|
||||
(use-package eshell
|
||||
|
||||
Reference in New Issue
Block a user