mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
feat(emacs): added chemacs support
This commit is contained in:
parent
034c581b80
commit
f3836b9423
3
emacs/.config/chemacs/profiles.el
Normal file
3
emacs/.config/chemacs/profiles.el
Normal file
@ -0,0 +1,3 @@
|
||||
(("default" . ((user-emacs-directory . "~/.config/emacs")))
|
||||
("doom" . ((user-emacs-directory . "~/.local/share/doom")
|
||||
(env . (("DOOMDIR" . "~/.config/doom"))))))
|
@ -27,7 +27,7 @@ end
|
||||
# Add paths
|
||||
path_if_exists ~/.local/share/yarn/global/node_modules/.bin
|
||||
path_if_exists ~/.local/bin
|
||||
path_if_exists ~/.emacs.d/bin
|
||||
path_if_exists ~/.local/share/doom/bin
|
||||
path_if_exists ~/.local/share/cargo/bin
|
||||
path_if_exists ~/.local/share/go/bin
|
||||
|
||||
@ -133,6 +133,9 @@ abbr --add rm "rm -i"
|
||||
# Colorize diff
|
||||
abbr --add diff "diff --color"
|
||||
|
||||
# Doom Emacs alias
|
||||
abbr --add demacs "emacs --with-profile doom"
|
||||
|
||||
# Load lfcd wiith proper icons
|
||||
function lf
|
||||
set -lx LF_ICONS "\
|
||||
|
2
install
2
install
@ -84,12 +84,12 @@ mkdir_if_not_exist ~/.config/systemd/user
|
||||
mkdir_if_not_exist ~/.config/wal
|
||||
mkdir_if_not_exist ~/.config/weechat
|
||||
mkdir_if_not_exist ~/.config/X11
|
||||
mkdir_if_not_exist ~/.emacs.d
|
||||
mkdir_if_not_exist ~/.gnupg
|
||||
mkdir_if_not_exist ~/.config/mpv/scripts
|
||||
mkdir_if_not_exist ~/.config/coc/extensions
|
||||
mkdir_if_not_exist ~/.config/dmenu-frecency
|
||||
mkdir_if_not_exist ~/.config/doom
|
||||
mkdir_if_not_exist ~/.config/emacs
|
||||
mkdir_if_not_exist ~/.config/sxhkd
|
||||
mkdir_if_not_exist ~/.local/share/applications
|
||||
|
||||
|
@ -83,6 +83,9 @@ alias rm="rm -i"
|
||||
# Colorize diff
|
||||
alias diff="diff --color"
|
||||
|
||||
# Doom Emacs alias
|
||||
alias demacs="emacs --with-profile doom"
|
||||
|
||||
# Use lf to switch directories and bind it to ctrl-o
|
||||
lfcd() {
|
||||
tmp="$(mktemp)"
|
||||
|
@ -10,7 +10,7 @@ TERM="xterm-256color"
|
||||
# PATH
|
||||
path_if_exists ~/.local/share/yarn/global/node_modules/.bin
|
||||
path_if_exists ~/.local/bin
|
||||
path_if_exists ~/.emacs.d/bin
|
||||
path_if_exists ~/.local/share/doom/bin
|
||||
path_if_exists ~/.local/share/go/bin
|
||||
path_if_exists ~/.local/share/cargo/bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user