Moved emacs configuration to .config/_emacs.my

This commit is contained in:
Gal Szkolnik 2022-06-07 00:41:52 -04:00
parent 8ca101d517
commit f562c379aa
10 changed files with 1157 additions and 12 deletions

View file

@ -1,4 +1,8 @@
if [[ -n "$(type -fP emacsclient)" && -n "$(type -fP emacs)" && -n "$(type -fP edit-with-spacemacs)" ]]; then
if [[ -r "$HOME/.config/_my.emacs/spacemacs/emacs.d/init.el" \
&& -n "$(type -fP emacsclient)" \
&& -n "$(type -fP emacs)" \
&& -n "$(type -fP edit-with-spacemacs)" \
]]; then
alias vi_editor='edit-with-spacemacs'
else
PREFERED_VI=$(type -fP nvim vim | head -1)