From 1edbf138199402af0ae8b0953558ce0e689f61b2 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 20 Mar 2023 20:37:35 +0100 Subject: Add start emacs config --- .config/emacs/init.el | 19 +++++++++++++++++++ .profile | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 .config/emacs/init.el 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)" -- cgit v1.2.3