mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs): Basic emacs setup
This commit is contained in:
parent
2346c13564
commit
6edb5d9e90
7 changed files with 134 additions and 0 deletions
31
tools/emacs.d/init.el
Normal file
31
tools/emacs.d/init.el
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
;;; init.el --- Entry point of GNU/Emacs configuration
|
||||
;;; First edit date 2025/01/27
|
||||
|
||||
;;; Organised by such directory structure
|
||||
;;; init.el -- This file, entry point
|
||||
;;; lisp/
|
||||
;;; init-basic.el
|
||||
;;; init-keymaps.el
|
||||
;;; init-package.el
|
||||
;;; init-evil.el
|
||||
;;; custom.el -- Auto Generated
|
||||
|
||||
;; All elisp files under emacs.d/lisp will be loaded
|
||||
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
|
||||
|
||||
;; Store the auto-generated custom config to `custom.el`
|
||||
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
||||
|
||||
;; Load each modules
|
||||
(require 'init-basic)
|
||||
(require 'init-keymaps)
|
||||
(require 'init-package)
|
||||
(require 'init-evil)
|
||||
|
||||
;; Load `custom` file
|
||||
(when (file-exists-p custom-file)
|
||||
(load custom-file))
|
||||
|
||||
|
||||
;;; init.el end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue