aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)"