dotfiles/emacs/.emacs.d/init.el

75 lines
1.5 KiB
EmacsLisp
Raw Normal View History

;;;; init.el --- Personal Init file -*- lexical-binding: t; -*-
;;;; Commentary:
;; Personal Emacs input file
;;;; Code:
;; Personal modules
(add-to-list 'load-path '"~/.dotfiles/emacs/.emacs.d/modules")
2024-05-30 14:06:47 +00:00
;; Slightly nicer theme
(set-face-attribute 'default nil :font "Menlo" :height 130)
(advice-add 'risky-local-variable-p :override #'ignore)
(require 'jg-package)
;; Explicitly import the PATH from the shell on MacOS
(package-install 'exec-path-from-shell)
(exec-path-from-shell-initialize)
(require 'jg-core)
2024-05-31 15:32:03 +00:00
(require 'jg-display)
(require 'jg-style)
(require 'jg-keys)
(require 'jg-dev)
(require 'jg-org)
(require 'jg-media)
2024-05-30 14:06:47 +00:00
(use-package ivy
:diminish
:config
(ivy-mode 1))
(use-package which-key
:init (which-key-mode)
:diminish which-key-mode
:config
(setq which-key-idle-delay 0.3))
(use-package markdown-mode
:ensure t
:mode ("README\\.md\\'" . gfm-mode)
2024-06-07 09:38:09 +00:00
:init
(setq markdown-asymmetric-header nil)
2024-06-07 09:38:09 +00:00
(setq markdown-command "pandoc")
(setq markdown-header-scaling t)
2024-06-07 09:38:09 +00:00
(setq markdown-max-image-size '(500 . 300)))
2024-05-30 14:06:47 +00:00
(use-package projectile
:diminish projectile-modex
:config (projectile-mode)
:bind-keymap
("C-c p" . projectile-command-map)
:init
(setq projectile-switch-project-action #'projectile-dired))
(use-package counsel-projectile
:after projectile
:config
(counsel-projectile-mode 1))
2024-05-31 15:32:03 +00:00
(setq vc-follow-symlinks t)
2024-05-31 07:59:32 +00:00
2024-06-07 09:38:09 +00:00
(use-package auctex
:config
(setq TeX-auto-save t)
(setq TeX-parse-self t))
(provide 'init)
;;; init.el ends here