Re-enable new custom-defaults-config, remove projectile
This commit is contained in:
parent
5987eb3395
commit
93c4a76a0d
|
@ -34,8 +34,7 @@
|
||||||
(setq user-full-name "Evie Litherland-Smith"
|
(setq user-full-name "Evie Litherland-Smith"
|
||||||
user-mail-address "evie@xenia.me.uk")
|
user-mail-address "evie@xenia.me.uk")
|
||||||
|
|
||||||
;; TODO customise and then re-enable
|
(require 'custom-defaults-config)
|
||||||
;; (require 'custom-defaults-config)
|
|
||||||
(require 'custom-email-config)
|
(require 'custom-email-config)
|
||||||
(require 'custom-feed-config)
|
(require 'custom-feed-config)
|
||||||
(require 'custom-ide-config)
|
(require 'custom-ide-config)
|
||||||
|
|
44
home/emacs/modules/custom-default-config.el
Normal file
44
home/emacs/modules/custom-default-config.el
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
;;; custom-defaults-config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;;; Code:
|
||||||
|
(setq load-prefer-newer t
|
||||||
|
indent-tabs-mode nil
|
||||||
|
global-auto-revert-non-file-buffers t
|
||||||
|
dired-auto-revert-buffer t
|
||||||
|
dired-dwim-target t
|
||||||
|
tab-always-indent 'complete
|
||||||
|
completion-cycle-threshold 3
|
||||||
|
completions-detailed t
|
||||||
|
xref-show-definitions-function #'xref-show-definitions-completing-read
|
||||||
|
kill-do-not-save-duplicates t
|
||||||
|
auto-window-vscroll nil
|
||||||
|
fast-but-imprecise-scrolling t
|
||||||
|
scroll-conservatively 101
|
||||||
|
scroll-margin 0
|
||||||
|
scroll-preserve-screen-position 1)
|
||||||
|
|
||||||
|
(global-auto-revert-mode +1)
|
||||||
|
(delete-selection-mode)
|
||||||
|
|
||||||
|
;; define a key to define the word at point.
|
||||||
|
(keymap-set global-map "M-#" #'dictionary-lookup-definition)
|
||||||
|
|
||||||
|
;; turn on spell checking, if available.
|
||||||
|
(with-eval-after-load 'ispell
|
||||||
|
(when (executable-find ispell-program-name)
|
||||||
|
(add-hook 'text-mode-hook #'flyspell-mode)
|
||||||
|
(add-hook 'prog-mode-hook #'flyspell-prog-mode)))
|
||||||
|
|
||||||
|
;; window movement hydra (TODO)
|
||||||
|
(when (require 'hydra nil :noerror)
|
||||||
|
(defhydra window (global-map "C-c w")
|
||||||
|
"Window movement"
|
||||||
|
("u" winner-undo)
|
||||||
|
("r" winner-redo)
|
||||||
|
("n" windmove-down)
|
||||||
|
("p" windmove-up)
|
||||||
|
("b" windmove-left)
|
||||||
|
("f" windmove-right)))
|
||||||
|
|
||||||
|
;; Make shebang (#!) file executable when saved
|
||||||
|
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
|
|
@ -55,7 +55,6 @@
|
||||||
org-journal
|
org-journal
|
||||||
|
|
||||||
# project-packages
|
# project-packages
|
||||||
projectile
|
|
||||||
magit
|
magit
|
||||||
|
|
||||||
# ui-packages
|
# ui-packages
|
||||||
|
|
Loading…
Reference in a new issue