aboutsummaryrefslogtreecommitdiff
path: root/.config
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 /.config
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
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el19
1 files changed, 19 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))