Start cleaning init script into modules.
This commit is contained in:
parent
f40c6b8105
commit
367b7f36ea
4 changed files with 33 additions and 13 deletions
22
emacs/.emacs.d/modules/jg-core.el
Normal file
22
emacs/.emacs.d/modules/jg-core.el
Normal file
|
@ -0,0 +1,22 @@
|
|||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
(setq inhibit-startup-message t)
|
||||
(setq initial-scratch-message nil)
|
||||
|
||||
;; Disable menu, tool and scroll bars
|
||||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
|
||||
;; Add small window fringes
|
||||
(set-fringe-mode 10)
|
||||
|
||||
;; Management of basic paths and caches
|
||||
(setq user-emacs-directory (expand-file-name "~/.cache/emacs/")
|
||||
url-history-file (expand-file-name "url/history" user-emacs-directory))
|
||||
|
||||
(setq auto-save-file-name-transforms
|
||||
`((".*" ,(concat user-emacs-directory "auto-save/") t)))
|
||||
(setq backup-directory-alist '(("" . "~/.emacs.d/emacs-backup")))
|
||||
|
||||
(provide 'jg-core)
|
Loading…
Add table
Add a link
Reference in a new issue