feat(emacs): wayland nox and markdown mode

This commit is contained in:
js0ny 2025-04-17 01:10:56 +01:00
parent 4f20405cfb
commit b66b442dba
5 changed files with 46 additions and 20 deletions

View file

@ -4,11 +4,9 @@
;;; Organised by such directory structure
;;; init.el -- This file, entry point
;;; lisp/
;;; init-basic.el
;;; init-keymaps.el
;;; init-package.el
;;; init-evil.el
;;; init-*.el
;;; custom.el -- Auto Generated
;;; local.el -- Local variables
;; All elisp files under emacs.d/lisp will be loaded
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
@ -23,15 +21,21 @@
(defvar xdg-cache-home
(or (getenv "XDG_CACHE_HOME")
(expand-file-name "~/.local/cache")))
(expand-file-name "~/.cache")))
(defvar xdg-state-home
(or (getenv "XDG_STATE_HOME")
(expand-file-name "~/.local/state/")))
(defvar user-emacs-data (expand-file-name "emacs" xdg-data-home))
(defvar user-emacs-cache (expand-file-name "emacs" xdg-cache-home))
(defvar user-emacs-state (expand-file-name "emacs" xdg-state-home))
;; Load each modules
(require 'init-package) ; package manager should be loaded first
(require 'init-basic)
(require 'init-appearance)
(require 'init-appearance)
(require 'init-wayland)
(require 'init-keymaps)
(require 'init-evil)
(require 'init-counsel)
@ -39,7 +43,8 @@
(require 'init-edit)
(require 'init-calendar)
(require 'init-org)
(require 'init-lang)
(require 'init-markdown)
(require 'init-latex)
(require 'init-treesitter)
;; Load `custom` file
@ -53,4 +58,3 @@
;;; init.el end