From 1b0df1a020d4ecc3b9928a2272863978e67b9b28 Mon Sep 17 00:00:00 2001 From: Luddifee Date: Mon, 7 Jun 2021 21:52:50 +0200 Subject: [PATCH] switching to doom emacs --- .emacs | 76 ++++++++++------------------------------------ .emacs.d/title.txt | 12 -------- 2 files changed, 16 insertions(+), 72 deletions(-) delete mode 100644 .emacs.d/title.txt diff --git a/.emacs b/.emacs index 325ac27..a4311fb 100644 --- a/.emacs +++ b/.emacs @@ -1,62 +1,18 @@ -;; Ludwig Lehnert (c) 2021 +;;; .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: -(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) +(set-face-attribute 'default (selected-frame) :height 160) +(provide '.emacs) +;;; .emacs ends here diff --git a/.emacs.d/title.txt b/.emacs.d/title.txt deleted file mode 100644 index af98b6c..0000000 --- a/.emacs.d/title.txt +++ /dev/null @@ -1,12 +0,0 @@ - -▓█████ ███▄ ▄███▓ ▄▄▄ ▄████▄ ██████ -▓█ ▀ ▓██▒▀█▀ ██▒▒████▄ ▒██▀ ▀█ ▒██ ▒ -▒███ ▓██ ▓██░▒██ ▀█▄ ▒▓█ ▄ ░ ▓██▄ -▒▓█ ▄ ▒██ ▒██ ░██▄▄▄▄██ ▒▓▓▄ ▄██▒ ▒ ██▒ -░▒████▒▒██▒ ░██▒ ▓█ ▓██▒▒ ▓███▀ ░▒██████▒▒ -░░ ▒░ ░░ ▒░ ░ ░ ▒▒ ▓▒█░░ ░▒ ▒ ░▒ ▒▓▒ ▒ ░ - ░ ░ ░░ ░ ░ ▒ ▒▒ ░ ░ ▒ ░ ░▒ ░ ░ - ░ ░ ░ ░ ▒ ░ ░ ░ ░ - ░ ░ ░ ░ ░░ ░ ░ - ░ -