Compare commits
13 Commits
68d3eea6b6
...
fa3e5e4deb
Author | SHA1 | Date |
---|---|---|
Oliver Payne | fa3e5e4deb | |
Oliver Payne | c495591e91 | |
Oliver Payne | bf0e004ae0 | |
Oliver Payne | c13e7fde8c | |
Oliver Payne | b07fb2fc54 | |
Oliver Payne | 57262c69c4 | |
Oliver Payne | d7307ff87e | |
Oliver Payne | b1bac4fc6b | |
Oliver Payne | b301d4e73a | |
Oliver Payne | a01b9440e8 | |
Oliver Payne | 35743df86b | |
Oliver Payne | 0f6af5f91d | |
Oliver Payne | 001518200d |
34
init.el
34
init.el
|
@ -3,13 +3,17 @@
|
|||
(global-set-key (kbd "<print>") 'execute-extended-command)
|
||||
;; OpenBSD prefixes gnu coreutils programs with g
|
||||
;; Requires installation of coreutils package
|
||||
(global-set-key (kbd "M-\\") 'cycle-spacing)
|
||||
|
||||
(setq-default auto-fill-function 'do-auto-fill)
|
||||
|
||||
(setq dired-chown-program "gchown"
|
||||
dired-touch-program "gtouch"
|
||||
dired-grep-program "ggrep"
|
||||
insert-directory-program "gls")
|
||||
|
||||
(setq custom-safe-themes
|
||||
'("dde643b0efb339c0de5645a2bc2e8b4176976d5298065b8e6ca45bc4ddf188b7" default))
|
||||
;; (setq custom-safe-themes
|
||||
;; '("dde643b0efb339c0de5645a2bc2e8b4176976d5298065b8e6ca45bc4ddf188b7" default))
|
||||
|
||||
(eval-when-compile
|
||||
(require 'use-package))
|
||||
|
@ -18,16 +22,7 @@
|
|||
:ensure t
|
||||
:bind (("C-x g" . magit-status)
|
||||
("<f8>" . magit-status)))
|
||||
(use-package modus-themes
|
||||
:ensure t
|
||||
:init
|
||||
;;(modus-themes-load-themes)
|
||||
:config
|
||||
;;(modus-themes-load-vivendi)
|
||||
(load-theme 'modus-vivendi)
|
||||
:bind
|
||||
;;("<f5>" . modus-themes-toggle)
|
||||
)
|
||||
|
||||
(use-package vertico
|
||||
:ensure t
|
||||
:config
|
||||
|
@ -115,18 +110,26 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(column-number-mode t)
|
||||
'(comment-auto-fill-only-comments t)
|
||||
'(completion-category-overrides '((file (styles partial-completion))))
|
||||
'(completion-styles '(orderless basic))
|
||||
'(consult-grep-args
|
||||
"ggrep --null --line-buffered --color=never --ignore-case --line-number -I -r .")
|
||||
'(custom-enabled-themes '(modus-vivendi))
|
||||
'(custom-safe-themes
|
||||
'("eb50f36ed5141c3f702f59baa1968494dc8e9bd22ed99d2aaa536c613c8782db" "eb7cd622a0916358a6ef6305e661c6abfad4decb4a7c12e73d6df871b8a195f8" default))
|
||||
'(desktop-save-mode nil)
|
||||
'(dired-dwim-target 'dired-dwim-target-next)
|
||||
'(display-time-24hr-format t)
|
||||
'(display-time-day-and-date t)
|
||||
'(display-time-mode t)
|
||||
'(ediff-window-setup-function 'ediff-setup-windows-plain)
|
||||
'(gnus-group-mode-hook '(gnus-topic-mode gnus-agent-mode))
|
||||
'(gnus-secondary-select-methods '((nnml "")))
|
||||
'(gnus-select-method '(nntp "news.gmane.io"))
|
||||
'(isearch-lazy-count t)
|
||||
'(mail-sources '((file :path "/var/mail/olly")))
|
||||
'(menu-bar-mode nil)
|
||||
'(org-agenda-files '("~/org/home.org"))
|
||||
'(org-journal-dir "~/journal")
|
||||
'(org-journal-file-type 'monthly)
|
||||
|
@ -136,15 +139,18 @@
|
|||
("gnu" . "https://elpa.gnu.org/packages/")
|
||||
("nongnu" . "https://elpa.nongnu.org/nongnu/")))
|
||||
'(package-selected-packages
|
||||
'(haskell-mode undo-tree expand-region project consult pdf-tools slime corfu org-journal smartparens modus-themes orderless solarized-theme vertico use-package racket-mode magit))
|
||||
'(eglot haskell-mode undo-tree expand-region project consult pdf-tools slime corfu org-journal smartparens modus-themes orderless solarized-theme vertico use-package racket-mode magit))
|
||||
'(prog-mode-hook
|
||||
'(flyspell-prog-mode display-line-numbers-mode turn-on-smartparens-strict-mode))
|
||||
'(save-place-mode t)
|
||||
'(savehist-mode t)
|
||||
'(scroll-bar-mode nil)
|
||||
'(scroll-preserve-screen-position 1)
|
||||
'(set-mark-command-repeat-pop t)
|
||||
'(text-mode-hook
|
||||
'(turn-on-flyspell turn-on-auto-fill text-mode-hook-identify))
|
||||
'(tool-bar-mode nil)
|
||||
'(transient-mark-mode nil)
|
||||
'(use-package-compute-statistics t)
|
||||
'(xref-show-definitions-function 'consult-xref)
|
||||
'(xref-show-xrefs-function 'consult-xref))
|
||||
|
@ -154,7 +160,7 @@
|
|||
;; 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.
|
||||
'(default ((t (:inherit nil :height 100 :family "Terminus")))))
|
||||
'(default ((t (:inherit nil :extend nil :stipple nil :background "#000000" :foreground "#ffffff" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 78 :width semi-condensed :foundry "Misc" :family "Terminus")))))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue