Revert "switching to doom emacs"

This reverts commit 1b0df1a020d4ecc3b9928a2272863978e67b9b28.
This commit is contained in:
Luddifee 2021-06-12 14:00:37 +02:00
parent 6e49cb3312
commit e530b0f5f4
2 changed files with 72 additions and 16 deletions

76
.emacs
View File

@ -1,18 +1,62 @@
;;; .emacs --- My emacs config
;;
;; Copyright (C) 2021 Ludwig Lehnert
;;
;; Created: Juni 07, 2021
;; Modified: Juni 07, 2021
;; Package-Requires: ((emacs "24.3"))
;;
;; This file is not part of GNU Emacs.
;;
;;; Commentary:
;; ---
;;; Code:
;; Ludwig Lehnert (c) 2021
(set-face-attribute 'default (selected-frame) :height 160)
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
'(custom-safe-themes
'("d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" default))
'(dashboard-banner-logo-title "Welcome to Emacs Dashboard")
'(dashboard-center-content t)
'(dashboard-footer-messages nil)
'(dashboard-items '((recents . 5) (bookmarks . 5) (registers . 5)))
'(dashboard-startup-banner "~/.emacs.d/title.txt")
'(global-display-line-numbers-mode t)
;; tabstop stuff
'(indent-line-function 4)
'(tab-width 4)
'(c-basic-offset 4)
'(lisp-indent-offset 2)
'(sgml-basic-offset 4)
'(nxml-child-indent 4)
'(tab-stop-list (number-sequence 4 200 4))
'(tab-width 4)
;; other stuff
'(make-backup-files nil)
'(menu-bar-mode nil)
'(package-selected-packages
'(filetree auto-complete markdown-mode projectile dashboard pylint evil gruvbox-theme ##))
'(scroll-bar-mode nil)
'(tool-bar-mode nil)
'(tooltip-mode nil))
(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.
)
;; auto complete default config
(ac-config-default)
;; enable evil mode
(require 'evil)
(evil-mode 1)
;; load gruvbox theme
(load-theme 'gruvbox t)
;; set font size
(set-face-attribute 'default (selected-frame) :height 145)
;; start startup screen
(require 'dashboard)
(dashboard-setup-startup-hook)
;; define custom commands
(defalias 'spg 'dashboard-refresh-buffer)
(defalias 'sc 'shell-command)
(provide '.emacs)
;;; .emacs ends here

12
.emacs.d/title.txt Normal file
View File

@ -0,0 +1,12 @@
▓█████ ███▄ ▄███▓ ▄▄▄ ▄████▄ ██████
▓█ ▀ ▓██▒▀█▀ ██▒▒████▄ ▒██▀ ▀█ ▒██ ▒
▒███ ▓██ ▓██░▒██ ▀█▄ ▒▓█ ▄ ░ ▓██▄
▒▓█ ▄ ▒██ ▒██ ░██▄▄▄▄██ ▒▓▓▄ ▄██▒ ▒ ██▒
░▒████▒▒██▒ ░██▒ ▓█ ▓██▒▒ ▓███▀ ░▒██████▒▒
░░ ▒░ ░░ ▒░ ░ ░ ▒▒ ▓▒█░░ ░▒ ▒ ░▒ ▒▓▒ ▒ ░
░ ░ ░░ ░ ░ ▒ ▒▒ ░ ░ ▒ ░ ░▒ ░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░
░ ░ ░ ░ ░░ ░ ░