emacs: use chemacs2

This commit is contained in:
FollieHiyuki 2021-05-25 16:39:15 +03:00
parent c71508f34d
commit bd949936d5
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
7 changed files with 11 additions and 7 deletions

View File

@ -23,13 +23,11 @@ case ${shell} in
;;
zsh)
cp -rfv ./home/.bashrc ~/.bashrc
cp -rfv ./home/.bash_profile ~/.bash_profile
cp -rfv ./home/.config/zsh/ ~/.config/zsh/
cp -rfv ./home/.local/share/zsh/ ~/.local/share/zsh/
;;
fish)
cp -rfv ./home/.bashrc ~/.bashrc
cp -rfv ./home/.bash_profile ~/.bash_profile
cp -rfv ./home/.config/fish/ ~/.config/fish/
;;
*)
@ -98,6 +96,7 @@ cp -rfv ./home/.config/aria2/ ~/.config/aria2/
cp -rfv ./home/.config/bat/ ~/.config/bat/
cp -rfv ./home/.config/bottom/ ~/.config/bottom/
cp -rfv ./home/.config/cava/ ~/.config/cava/
cp -rfv ./home/.config/chemacs/ ~/.config/chemacs/
cp -rfv ./home/.config/cht.sh/ ~/.config/cht.sh/
cp -rfv ./home/.config/cointop/ ~/.config/cointop/
cp -rfv ./home/.config/doom/ ~/.config/doom/
@ -140,7 +139,8 @@ cp -rfv ./home/.local/share/gnupg/ ~/.local/share/gnupg/
echo "
~~~ Cloning submodules ~~~
"
[ -d ~/.config/emacs ] || git clone https://github.com/hlissner/doom-emacs ~/.config/emacs
[ -d ~/.config/emacs ] || git clone https://github.com/plexus/chemacs2 ~/.config/emacs
[ -d ~/.config/emacs-config/doom ] || git clone https://github.com/hlissner/doom-emacs ~/.config/emacs-config/doom
[ -d ~/.config/tmux/plugins/tpm ] || git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
[ -d ~/.config/ranger/plugins/ranger_devicons ] || git clone https://github.com/FollieHiyuki/ranger_devicons ~/.config/ranger/plugins/ranger_devicons

View File

@ -400,7 +400,7 @@ alias ip="ip -color=always"
alias v="nvim"
alias vi='fzf | xargs -r nvim -o'
# emacs
alias doom="$HOME/.config/emacs/bin/doom"
alias doom="$HOME/.config/emacs-config/doom/bin/doom"
alias e="emacs -nw"
alias em="emacsclient -c -a 'emacs'"
# rsync

View File

@ -0,0 +1,2 @@
(("default" . ((user-emacs-directory . "~/.config/emacs-config/doom")))
("myconfig" . ((user-emacs-directory . "~/.config/emacs-config/myconfig"))))

View File

@ -76,6 +76,8 @@
'(mode-line-inactive :height 0.98))
(setq doom-modeline-major-mode-icon t
doom-modeline-major-mode-color-icon t
doom-modeline-buffer-encoding t
doom-modeline-enable-word-count t
doom-modeline-unicode-fallback t))
(custom-set-faces!
'(doom-modeline-buffer-modified :foreground "orange"))

View File

@ -69,7 +69,7 @@
(package! license-templates)
(package! keycast)
(package! eshell-info-banner
:recipe (:host github :repo "phundrak/eshell-info-banner.el"))
:recipe (:host github :repo "Phundrak/eshell-info-banner.el"))
;;(package! gemini-mode)
;;(package! page-break-lines)
;;(package! vlf)

View File

@ -30,7 +30,7 @@ alias ip='ip -color=always'
abbr v nvim
abbr vi 'fzf | xargs -r nvim -o'
# emacs
alias doom='$HOME/.config/emacs/bin/doom'
alias doom='$HOME/.config/emacs-config/doom/bin/doom'
abbr e 'emacs -nw'
abbr em "emacsclient -c -a 'emacs'"
# rsync

View File

@ -23,7 +23,7 @@ alias ip="ip -color=always"
alias v="nvim"
alias vi='fzf | xargs -r nvim -o'
# emacs
alias doom="$HOME/.config/emacs/bin/doom"
alias doom="$HOME/.config/emacs-config/doom/bin/doom"
alias e="emacs -nw"
alias em="emacsclient -c -a 'emacs'"
# rsync