second
This commit is contained in:
@@ -37,10 +37,9 @@
|
||||
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
|
||||
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
|
||||
|
||||
;; Set org-mode directories
|
||||
(setq org-directory
|
||||
'("~/org/"
|
||||
"~/.config/doom"))
|
||||
;; Set agenda files
|
||||
(setq org-agenda-files
|
||||
'("~/org/planner.org"))
|
||||
|
||||
(defun rymacs/org-mode-setup ()
|
||||
(org-indent-mode)
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
||||
;; directory (for easy access to its source code).
|
||||
|
||||
(defvar native-comp-deferred-compilation-deny-list nil)
|
||||
|
||||
(doom! :input
|
||||
;;chinese
|
||||
;;japanese
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
"default.route.alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00:profile:output:analog-stereo+input:mono-fallback": [ "analog-output-speaker" ],
|
||||
"default.route.alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic:profile:HiFi": [ ],
|
||||
"default.route.alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00:output:analog-output-speaker": { "mute": false, "volumes": [ 0.438993, 0.438993 ], "channels": [ "FL", "FR" ], "latencyOffsetNsec": 0 },
|
||||
"default.route.alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic:output:[Out] Speaker": { "mute": false, "volumes": [ 0.551383, 0.551383 ], "channels": [ "FL", "FR" ], "latencyOffsetNsec": 0 },
|
||||
"default.route.alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic:output:[Out] Speaker": { "mute": true, "volumes": [ 0.551383, 0.551383 ], "channels": [ "FL", "FR" ], "latencyOffsetNsec": 0 },
|
||||
"default.route.alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic:input:[In] Mic1": { "mute": true, "volumes": [ 0.399992, 0.399992, 0.399992, 0.399992 ], "channels": [ "FL", "FR", "RL", "RR" ], "latencyOffsetNsec": 0 },
|
||||
"default.route.bluez_card.00_1B_66_BD_13_AA:profile:a2dp-sink-aac": [ "headphone-output" ],
|
||||
"default.route.bluez_card.00_1B_66_BD_13_AA:output:headphone-output": { "mute": false, "volumes": [ 0.214304, 0.214304 ], "channels": [ "FL", "FR" ], "latencyOffsetNsec": 0 },
|
||||
|
||||
@@ -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