General, minor reformatting & refactor
This commit is contained in:
parent
7d0caf3efd
commit
ec55884aae
4 changed files with 8 additions and 6 deletions
|
@ -72,15 +72,16 @@ fundamental-mode) for performance sake."
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Built-in plugins
|
;; Extra file extensions to support
|
||||||
|
|
||||||
(push '("/LICENSE\\'" . text-mode) auto-mode-alist)
|
(push '("/LICENSE\\'" . text-mode) auto-mode-alist)
|
||||||
|
|
||||||
(electric-indent-mode -1) ; enabled by default in Emacs 25+. No thanks.
|
|
||||||
|
;;
|
||||||
|
;; Built-in plugins
|
||||||
|
|
||||||
(def-package! server
|
(def-package! server
|
||||||
:when (display-graphic-p)
|
:when (display-graphic-p)
|
||||||
:defer 1
|
|
||||||
:after-call (pre-command-hook after-find-file)
|
:after-call (pre-command-hook after-find-file)
|
||||||
:config
|
:config
|
||||||
(when-let* ((name (getenv "EMACS_SERVER_NAME")))
|
(when-let* ((name (getenv "EMACS_SERVER_NAME")))
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
;;macos ; MacOS-specific commands
|
;;macos ; MacOS-specific commands
|
||||||
;;make ; run make tasks from Emacs
|
|
||||||
;;magit ; a git porcelain for Emacs
|
;;magit ; a git porcelain for Emacs
|
||||||
|
;;make ; run make tasks from Emacs
|
||||||
;;password-store ; password manager for nerds
|
;;password-store ; password manager for nerds
|
||||||
;;pdf ; pdf enhancements
|
;;pdf ; pdf enhancements
|
||||||
;;prodigy ; FIXME managing external services & code builders
|
;;prodigy ; FIXME managing external services & code builders
|
||||||
|
|
|
@ -85,7 +85,8 @@
|
||||||
"c" #'cider-repl-clear-buffer)))
|
"c" #'cider-repl-clear-buffer)))
|
||||||
|
|
||||||
(:when (featurep! :feature evil +everywhere)
|
(:when (featurep! :feature evil +everywhere)
|
||||||
:map cider-repl-mode-map :i [S-return] #'cider-repl-newline-and-indent
|
:map cider-repl-mode-map
|
||||||
|
:i [S-return] #'cider-repl-newline-and-indent
|
||||||
:map cider-repl-history-mode-map
|
:map cider-repl-history-mode-map
|
||||||
:i [return] #'cider-repl-history-insert-and-quit
|
:i [return] #'cider-repl-history-insert-and-quit
|
||||||
:i "q" #'cider-repl-history-quit
|
:i "q" #'cider-repl-history-quit
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
|
|
||||||
(def-package! forge
|
(def-package! forge
|
||||||
;; we defer loading even further because forge's dependencies will try to
|
;; We defer loading even further because forge's dependencies will try to
|
||||||
;; compile emacsql, which is a slow and blocking operation.
|
;; compile emacsql, which is a slow and blocking operation.
|
||||||
:after-call magit-status
|
:after-call magit-status
|
||||||
:init
|
:init
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue