forked from nikolaishields/emacs-config
Add custom-vars file and evil-collection
- Add a test line for future testing
This commit is contained in:
parent
842c075024
commit
e2643a73c7
2 changed files with 33 additions and 11 deletions
15
custom-vars.el
Normal file
15
custom-vars.el
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("b54376ec363568656d54578d28b95382854f62b74c32077821fdfd604268616a" default))
|
||||
'(package-selected-packages
|
||||
'(evil-collection which-key vterm use-package rainbow-delimiters pdf-tools org-roam-ui org-modern nix-mode magit kagi gruvbox-theme gotham-theme evil doom-themes doom-modeline-now-playing crdt consult-org-roam command-log-mode catppuccin-theme)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
29
init.el
29
init.el
|
|
@ -41,17 +41,7 @@
|
|||
(dolist (mode '(term-mode-hook
|
||||
vterm-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("80214de566132bf2c844b9dee3ec0599f65c5a1f2d6ff21a2c8309e6e70f9242" default))
|
||||
'(org-agenda-files '("~/Documents/notes/todo.org"))
|
||||
'(package-selected-packages
|
||||
'(consult-org-roam org-roam-ui org-modern org-roam pdf-tools crdt vterm eterm-25color kagi which-key use-package rainbow-delimiters org nix-mode magit gruvbox-theme gotham-theme doom-themes doom-modeline-now-playing command-log-mode catppuccin-theme))
|
||||
'(visible-bell nil))
|
||||
|
||||
(setq global-auto-revert-non-file-buffers t)
|
||||
(use-package which-key
|
||||
:init (which-key-mode)
|
||||
|
|
@ -103,6 +93,14 @@
|
|||
;; Enable Evil
|
||||
(require 'evil)
|
||||
(evil-mode 1)
|
||||
(setq evil-want-keybing nil)
|
||||
|
||||
(use-package evil-collection
|
||||
:ensure t
|
||||
:after evil
|
||||
:init
|
||||
(evil-collection-init))
|
||||
|
||||
|
||||
;; org
|
||||
(setq org-roam-directory (file-truename "~/Documents/notes"))
|
||||
|
|
@ -113,3 +111,12 @@
|
|||
(setq auto-save-interval '20)
|
||||
|
||||
(setq org-agenda-files '("~/Documents/notes/daily/"))
|
||||
(save-place-mode 1)
|
||||
|
||||
(setq custom-file (locate-user-emacs-file "custom-vars.el"))
|
||||
(load custom-file 'noerror 'nomessage)
|
||||
|
||||
(setq use-dialog-box nil)
|
||||
(global-auto-revert-mode 1)
|
||||
(setq global-auto-rever-non-file-buffers t)
|
||||
;; test
|
||||
|
|
|
|||
Loading…
Reference in a new issue