aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorbard <[email protected]>2024-03-11 21:56:04 -0400
committerbard <[email protected]>2024-03-11 21:56:04 -0400
commit7df17cbd90b2a80dc5bc8fa9c259c07c0be876ca (patch)
treeab3c5d1ac2582d3cd4307066e329c6508a90f5d1 /init.el
parent75381790dc8076cde8bb086f8866cc076e4e1b71 (diff)
cleaned up
Diffstat (limited to 'init.el')
-rw-r--r--init.el31
1 files changed, 15 insertions, 16 deletions
diff --git a/init.el b/init.el
index ed60cd4..ec55261 100644
--- a/init.el
+++ b/init.el
@@ -46,6 +46,9 @@
;; Esc key quit prompts
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
+;; Clipboard saving
+(setq x-select-enable-clipboard t)
+
;; No Backups
(setq auto-save-default nil)
(setq make-backup-files nil)
@@ -61,6 +64,14 @@
desktop-restory-in-current-display t
desktop-files-not-to-save "\(^$\\|\\*scratch\\*\\|\\*Messages\\*\\|\\*dashboard\\*\\|\\*Async-native-compile-log\\*|\\*Music\\*)")
+;; Savehist
+(setq savehist-file (locate-user-emacs-file "savehist"))
+(setq history-length 100)
+(setq history-delete-duplicates t)
+(setq savehist-save-minibuffer-history t)
+(setq savehist-additional-variables '(register-alist kill-ring))
+(savehist-mode 1)
+
;; |------------------------------------|
;; | General Keybinds |
;; |------------------------------------|
@@ -71,22 +82,10 @@
(global-set-key (kbd "C-' s") 'desktop-save-in-desktop-dir)
(global-set-key (kbd "C-' r") 'desktop-read)
+(electric-pair-mode t)
+
+(setq custom-safe-themes t)
+
(provide 'init)
;;; init.el ends here
-(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.
- '(org-format-latex-options
- '(:foreground default :background default :scale 1.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.6 :matchers
- ("begin" "$1" "$" "$$" "\\(" "\\[")))
- '(package-selected-packages
- '(zenburn-theme gruber-darker-theme gruber-darker org-bullets org-bullet gruvbox-theme tuareg emacs-everywhere smartparens smart-parens flycheck vterm yasnippet-snippets which-key vertico use-package toc-org tao-theme sly rainbow-mode projectile pdf-tools org-roam-ui org-cliplink orderless olivetti multiple-cursors modus-themes mixed-pitch marginalia magit hl-todo haskell-mode expand-region elfeed-org elfeed-goodies ef-themes dashboard counsel company clojure-snippets cider)))
-(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.
- '(org-agenda-structure ((t (:inherit bold :foreground "#70a89f" :height 1.5 :family "Iosevka Comfy Motion Duo")))))