Moved emacs configuration to .config/_emacs.my
This commit is contained in:
parent
8ca101d517
commit
f562c379aa
10 changed files with 1157 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue