chore: folder restructure

This commit is contained in:
Muhammad Nauman Raza 2022-11-08 17:53:07 +00:00
parent d84ec39960
commit 1d384cb910
No known key found for this signature in database
GPG key ID: A9A36C429C9CAE31
5 changed files with 39 additions and 38 deletions

View file

@ -3,6 +3,9 @@
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
;; Disable the modeline. Done in this file for the same reason above
(setq-default mode-line-format nil)
;; Straight.el bootstrap ;; Straight.el bootstrap
(defvar bootstrap-version) (defvar bootstrap-version)
(let ((bootstrap-file (let ((bootstrap-file
@ -29,5 +32,5 @@
(require 'interface) (require 'interface)
(require 'packages) (require 'packages)
(require 'org-mode)
(require 'editor) (require 'editor)
(require 'org)

View file

@ -1,8 +1,19 @@
;;; This file customizes Emacs' editor ;;; This file customizes Emacs' editor
;; evil - A Vi Layer inside of Emacs ;;; evil - A Vi Layer inside of Emacs
(evil-mode 1) ; Enable evil
(setq evil-undo-system 'undo-fu) ; Enable undo/redo functionality using undo-fu (setq evil-undo-system 'undo-fu) ; Enable undo/redo functionality using undo-fu
(evil-collection-init) ; Enable the evil-collection keybinds
(evil-mode 1) ; Enable evil
;;; Themes
;; Customize doom-themes
(setq doom-themes-enable-bold t
doom-themes-enable-italic t)
(doom-themes-treemacs-config) ; Enable theming of treemacs
(doom-themes-org-config) ; And org-mode
;; Set theme to doom-tokyo-night, Dianicemacs' default
(load-theme 'doom-tokyo-night t)
;; Provide this file to init.el ;; Provide this file to init.el
(provide 'editor) (provide 'editor)

View file

@ -3,9 +3,6 @@
;; Stop Emacs from resizing the window at startup ;; Stop Emacs from resizing the window at startup
(setq frame-resize-pixelwise t) (setq frame-resize-pixelwise t)
;; Disable the modeline
(setq-default mode-line-format nil)
;; Remove the startup screen ;; Remove the startup screen
(setq inhibit-startup-message t) (setq inhibit-startup-message t)

View file

@ -1,11 +1,5 @@
;;; This file contains configuration for Emacs' org-mode ;;; This file contains configuration for Emacs' org-mode
;; Enable org-superstar-mode in org-mode files
(add-hook 'org-mode-hook (lambda() (org-superstar-mode 1)))
;; Scale up latex elements
(plist-put org-format-latex-options :scale 1.75)
;; Customize org-mode's default functionality ;; Customize org-mode's default functionality
(setq org-ellipsis "..." (setq org-ellipsis "..."
org-use-property-inheritance t org-use-property-inheritance t
@ -37,5 +31,11 @@
:foreground 'unspecified :foreground 'unspecified
:inherit 'org-level-8) :inherit 'org-level-8)
;; Scale up latex elements
(plist-put org-format-latex-options :scale 1.75)
;; Enable org-superstar-mode in org-mode files
(add-hook 'org-mode-hook 'org-superstar-mode)
;; Provide this file to init.el ;; Provide this file to init.el
(provide 'org) (provide 'org-mode)

View file

@ -1,47 +1,37 @@
;;; This file contains the packages that Dianciemacs uses ;;; This file contains the packages that Dianciemacs uses
;; magit - A beautiful git porcelain for Emacs ;; magit - A beautiful git porcelain for Emacs
(use-package magit (use-package magit)
:ensure t)
;;; Themes ;;; Themes
;; Install the Doom Emacs theme megapack. ;; Install the Doom Emacs theme megapack.
(use-package doom-themes (use-package doom-themes)
:ensure t
:config
(setq doom-themes-enable-bold t
doom-themes-enable-italic t)
(doom-themes-treemacs-config)
(doom-themes-org-config))
;; kaolin-themes, depends on autothemer ;; kaolin-themes, depends on autothemer
(use-package kaolin-themes (use-package kaolin-themes
:requires autothemer :requires autothemer)
:ensure t)
(use-package autothemer (use-package autothemer)
:ensure t)
;; all-the-icons - Icons for various UI elements ;; all-the-icons - Icons for various UI elements
(use-package all-the-icons (use-package all-the-icons)
:ensure t)
;;; org-mode ;;; org-mode
;; org-superstar ;; org-superstar
(use-package org-superstar (use-package org-superstar)
:ensure t)
;;; evil - A Vi layer inside of Emacs ;;; evil - A Vi layer inside of Emacs
(use-package evil (use-package evil
:requires undo-fu :config
:ensure t) (setq evil-want-keybinding nil ; Make room for evil-collection
evil-want-integration t) ; Same as above
:requires (undo-fu evil-collection))
;; A collection of keybinds for evil-mode
(use-package evil-collection)
;; undo-fu, used by evil for undo/redo functionality ;; undo-fu, used by evil for undo/redo functionality
(use-package undo-fu (use-package undo-fu)
:ensure t)
;; Set theme to doom-tokyo-night, Dianicemacs' default
(load-theme 'doom-tokyo-night t)
;; Provide this file to init.el ;; Provide this file to init.el
(provide 'packages) (provide 'packages)