aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-03-20 19:37:35 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-03-20 19:37:35 +0000
commit1edbf138199402af0ae8b0953558ce0e689f61b2 (patch)
tree6379e3dec06bcc8d1065f4ae8cd0d90d6d3d91e3
parent23a89714b19ebc1a0a7e06f5740da5c149bbf4c7 (diff)
downloaddotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.tar
dotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.tar.gz
dotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.tar.bz2
dotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.tar.lz
dotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.tar.xz
dotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.tar.zst
dotfiles-1edbf138199402af0ae8b0953558ce0e689f61b2.zip
Add start emacs config
-rw-r--r--.config/emacs/init.el19
-rwxr-xr-x.profile2
2 files changed, 21 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
new file mode 100644
index 0000000..74b7592
--- /dev/null
+++ b/.config/emacs/init.el
@@ -0,0 +1,19 @@
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right.
+ '(package-selected-packages '(evil)))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )
+(when (version<= "26.0.50" emacs-version )
+ (global-display-line-numbers-mode))
+
+(setq backup-directory-alist '(("" . "~/.local/emacs/backup")))
+
+(if (and (fboundp 'evil-mode)
+ (not (evil-mode)))
+ (evil-mode))
diff --git a/.profile b/.profile
index 7fbe93d..8971a9b 100755
--- a/.profile
+++ b/.profile
@@ -23,6 +23,7 @@ BUN_INSTALL="$HOME/.bun"
GOPROXY="direct"
EDITOR="$(which nvim 2> /dev/null || which vim 2> /dev/null || which nano 2> /dev/null || which vi 2> /dev/null)"
GTK_THEME="Dracula"
+BAT_THEME="Dracula"
TERMINAL="alacritty"
export DENO_INSTALL
@@ -34,6 +35,7 @@ export NEXT_TELEMETRY_DEBUG
export GOPROXY
export EDITOR
export GTK_THEME
+export BAT_THEME
export TERMINAL
BAT="$(which bat 2> /dev/null || which batcat 2> /dev/null)"