second
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#+title: Emacs Custom Configuration File
|
||||
#+PROPERTY: header-args:emacs-lisp :tangle /home/ry/.dotfiles/.config/doom/config.el
|
||||
#+PROPERTY: header-args:emacs-lisp :tangle /home/ry/.dotfiles/.config/emacs/init.el
|
||||
|
||||
* Preface
|
||||
|
||||
@@ -89,13 +89,16 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
;; Set org-mode directories
|
||||
(setq org-directory
|
||||
'("~/org/"
|
||||
"~/.config/doom"))
|
||||
;; Set agenda files
|
||||
(setq org-agenda-files
|
||||
'("~/org/planner.org"))
|
||||
|
||||
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
| ~/org/planner.org |
|
||||
|
||||
** General Configuration
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
@@ -109,6 +112,7 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina.
|
||||
|
||||
|
||||
** Center Org Buffers
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(defun rymacs/org-mode-visual-fill ()
|
||||
@@ -120,6 +124,7 @@ Using [[https://github.com/tonsky/FiraCode][Fira Code]] + Fira Code Retina.
|
||||
:hook (org-mode . rymacs/org-mode-visual-fill))
|
||||
|
||||
#+end_src
|
||||
|
||||
** Set Fonts and Symbols
|
||||
|
||||
Here we are setting general font configuration in order to make editing in org mode a bit more streamlined to look at.
|
||||
@@ -247,3 +252,17 @@ Since we don't want to have to manually use the org-babel-tangle function everyt
|
||||
(dired "/ssh:root@207.66.177.26#46668:/"))
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
* Change Auto-Save Directory
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(add-to-list 'backup-directory-alist
|
||||
(cons "." "~/.dotfiles/.config/emacs/backup/"))
|
||||
(customize-set-variable
|
||||
'tramp-backup-directory-alist backup-directory-alist)
|
||||
|
||||
(setq tramp-auto-save-directory "~/.dotfiles/.config/emacs/remote-backups/")
|
||||
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user