Add copy-emacs-config.sh, README.org

This commit is contained in:
Jeffrey Serio 2023-08-21 02:23:12 -05:00
parent bde47a165d
commit 90e85dbcd1
3 changed files with 17 additions and 0 deletions

9
README.org Normal file
View File

@ -0,0 +1,9 @@
#+title: My Doom Emacs Config
I store my Doom Emacs config in ~~/sync/doom~. This is done by setting the ~DOOMDIR~ environment variable before running ~~/.config/emacs/bin/doom install~ and setting the ~doom-user-dir~ variable in ~config.el~. This way I can keep my config in sync between my stationary desktop and mobile desktop.
When I'm ready to commit changes to repo, I run:
#+begin_src bash
./copy-emacs-config.sh
#+end_src

View File

@ -323,6 +323,9 @@ If point was already at that position, move point to beginning of line."
;;;; centaur-tabs ;;;; centaur-tabs
(global-set-key (kbd "s-{") 'centaur-tabs-switch-group) (global-set-key (kbd "s-{") 'centaur-tabs-switch-group)
(global-set-key (kbd "s-h") 'centaur-tabs-backward-tab)
(global-set-key (kbd "s-l") 'centaur-tabs-forward-tab)
(setq centaur-tabs-buffer-show-groups t) (setq centaur-tabs-buffer-show-groups t)
(defun centaur-tabs-buffer-groups () (defun centaur-tabs-buffer-groups ()

5
copy-emacs-config.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
cp -fv "${HOME}/sync/doom/config.el" "$PWD"
cp -fv "${HOME}/sync/doom/init.el" "$PWD"
cp -fv "${HOME}/sync/doom/packages.el" "$PWD"