mirror of
https://codeberg.org/hyperreal/doom-emacs-config
synced 2024-11-25 11:53:42 +01:00
Add copy-emacs-config.sh, README.org
This commit is contained in:
parent
bde47a165d
commit
90e85dbcd1
9
README.org
Normal file
9
README.org
Normal 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
|
@ -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
5
copy-emacs-config.sh
Executable 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"
|
Loading…
Reference in New Issue
Block a user